diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-19 13:55:52 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-08-21 22:20:17 +0300 |
commit | 0dc62413c882d765db7a3ff4d507e8c0a804ba68 (patch) | |
tree | c73190eb54832f5158f95ee89ba2ac483fc9d5ee /include | |
parent | d816ce8744db76bed755596a3ae7a49dec64f8c0 (diff) | |
download | lwn-0dc62413c882d765db7a3ff4d507e8c0a804ba68.tar.gz lwn-0dc62413c882d765db7a3ff4d507e8c0a804ba68.zip |
brcmsmac: make array addr static const, makes object smaller
Don't populate the array addr on the stack but instead it
static const. Makes the object code smaller by 79 bytes:
Before:
text data bss dec hex filename
176015 54652 128 230795 3858b .../broadcom/brcm80211/brcmsmac/main.o
After:
text data bss dec hex filename
175872 54716 128 230716 3853c .../broadcom/brcm80211/brcmsmac/main.o
(gcc version 10.3.0)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210819125552.8888-1-colin.king@canonical.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions