diff options
author | 2020-10-20 15:19:36 +0100 | |
---|---|---|
committer | 2020-10-20 11:52:44 -0500 | |
commit | 3ece60e3e78e6066b4ea02dea6687e5d373c6a77 (patch) | |
tree | fb924d06bec2eab707bf95b1761a6c84b8331591 /drivers/usb/cdns3/cdns3-imx.c | |
parent | SMB3.1.1: Fix ids returned in POSIX query dir (diff) | |
download | linux-dev-3ece60e3e78e6066b4ea02dea6687e5d373c6a77.tar.xz linux-dev-3ece60e3e78e6066b4ea02dea6687e5d373c6a77.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions