diff options
| author | Colin Ian King <[email protected]> | 2017-09-12 12:32:28 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-09-15 15:41:45 -0400 |
| commit | 2a8ee61685a9fd7f054b0596865290baffe84c16 (patch) | |
| tree | 8acfcc9e815abf9eb2beea75ca95bc2b5ecbe47d /tools/perf/scripts/python | |
| parent | cd6372b614c4504214baab838f77b06503c9cd86 (diff) | |
scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size
Don't populate const arrays on the stack, instead make them static.
Makes the object code smaller by over 740 bytes.
Before:
text data bss dec hex filename
3840 208 0 4048 fd0 drivers/scsi/ufs/tc-dwc-g210.o
After:
text data bss dec hex filename
2679 624 0 3303 ce7 drivers/scsi/ufs/tc-dwc-g210.o
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions