summaryrefslogtreecommitdiff
path: root/net/wireless/wext-compat.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-11-16 18:16:36 +0000
committerJohannes Berg <johannes.berg@intel.com>2020-12-11 12:50:02 +0100
commitc7ed0e683ddbfb9349b6c25dbca3e1c8d76f5b87 (patch)
tree209883f4f60ce231ce2b4bdeb17f349b1d444acc /net/wireless/wext-compat.c
parent36ec144f041bedc2f14b32faa2da11d4d9660003 (diff)
net: wireless: make a const array static, makes object smaller
Don't populate the const array bws on the stack but instead it static. Makes the object code smaller by 80 bytes: Before: text data bss dec hex filename 85694 16865 1216 103775 1955f ./net/wireless/reg.o After: text data bss dec hex filename 85518 16961 1216 103695 1950f ./net/wireless/reg.o (gcc version 10.2.0) Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20201116181636.362729-1-colin.king@canonical.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/wext-compat.c')
0 files changed, 0 insertions, 0 deletions