summaryrefslogtreecommitdiff
path: root/drivers/scsi/libfc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-07-11 13:11:44 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-12 17:23:07 -0400
commit89b203e9d07d4079367120a6fe271ad9e9b751c0 (patch)
tree32d6d8e3b005eaf5a0021c30cfa6ae1473bc12fc /drivers/scsi/libfc
parentfb2028a0b24e0823bbc0a28e6f0f1bd9fbbf733c (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