diff options
author | 2017-07-11 13:11:44 +0100 | |
---|---|---|
committer | 2017-07-12 17:23:07 -0400 | |
commit | 89b203e9d07d4079367120a6fe271ad9e9b751c0 (patch) | |
tree | 32d6d8e3b005eaf5a0021c30cfa6ae1473bc12fc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: qla2xxx: Off by one in qlt_ctio_to_cmd() (diff) | |
download | linux-dev-89b203e9d07d4079367120a6fe271ad9e9b751c0.tar.xz linux-dev-89b203e9d07d4079367120a6fe271ad9e9b751c0.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions