diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-09-19 23:05:00 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-09-25 10:24:38 +0200 |
commit | 7dfb0ebd022b15dcafd513ae9270599799764e50 (patch) | |
tree | bbf833a4755b27910da0660419605eae5ae0ef93 /drivers/net/wireless/rsi/rsi_main.h | |
parent | rtl8xxxu: Don't printk raw binary if serial number is not burned in. (diff) | |
download | linux-7dfb0ebd022b15dcafd513ae9270599799764e50.tar.xz linux-7dfb0ebd022b15dcafd513ae9270599799764e50.zip |
mwifiex: make const array tos_to_ac static, reduces object code size
Don't populate the read-only const array tos_to_ac on the stack,
instead make it static. Makes the object code smaller by 250 bytes:
Before:
text data bss dec hex filename
26104 2720 128 28952 7118 wmm.o
After:
text data bss dec hex filename
25758 2816 128 28702 701e wmm.o
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_main.h')
0 files changed, 0 insertions, 0 deletions