diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-07-11 13:11:44 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-12 17:23:07 -0400 |
commit | 89b203e9d07d4079367120a6fe271ad9e9b751c0 (patch) | |
tree | 32d6d8e3b005eaf5a0021c30cfa6ae1473bc12fc /drivers/scsi/libfc | |
parent | fb2028a0b24e0823bbc0a28e6f0f1bd9fbbf733c (diff) |
scsi: hisi_sas: make several const arrays static
Don't populate various tables on the stack but make them static const.
Makes the object code smaller by over 280 bytes:
Before:
text data bss dec hex filename
39887 5080 64 45031 afe7 hisi_sas_v2_hw.o
After:
text data bss dec hex filename
39318 5368 64 44750 aece hisi_sas_v2_hw.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions