diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-10-20 15:19:36 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-20 11:52:44 -0500 |
commit | 3ece60e3e78e6066b4ea02dea6687e5d373c6a77 (patch) | |
tree | fb924d06bec2eab707bf95b1761a6c84b8331591 /fs/char_dev.c | |
parent | 9934430e2178d5164eb1ac91a9b092f9e7e64745 (diff) | |
download | linux-3ece60e3e78e6066b4ea02dea6687e5d373c6a77.tar.bz2 |
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 <colin.king@canonical.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions