diff options
author | Colin Ian King <[email protected]> | 2020-10-20 15:19:36 +0100 |
---|---|---|
committer | Steve French <[email protected]> | 2020-10-20 11:52:44 -0500 |
commit | 3ece60e3e78e6066b4ea02dea6687e5d373c6a77 (patch) | |
tree | fb924d06bec2eab707bf95b1761a6c84b8331591 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9934430e2178d5164eb1ac91a9b092f9e7e64745 (diff) |
cifs: make const array static, makes object smaller
Don't populate const array smb3_create_tag_posix on the stack but
instead make it static. Makes the object code smaller by 50 bytes.
Before:
text data bss dec hex filename
150184 47167 0 197351 302e7 fs/cifs/smb2pdu.o
After:
text data bss dec hex filename
150070 47231 0 197301 302b5 fs/cifs/smb2pdu.o
(gcc version 10.2.0)
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions