diff options
author | Colin Ian King <[email protected]> | 2017-07-11 13:11:44 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-07-12 17:23:07 -0400 |
commit | 89b203e9d07d4079367120a6fe271ad9e9b751c0 (patch) | |
tree | 32d6d8e3b005eaf5a0021c30cfa6ae1473bc12fc /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Acked-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions