aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-09-05 16:00:22 +0100
committerKalle Valo <kvalo@codeaurora.org>2019-09-13 16:44:18 +0300
commit569ce0a486fdf79606adc763086455b4534999a0 (patch)
tree5e6d9e764efbe96f0b85fcd5755894fda4a2cf36 /drivers/bcma
parentbrcmfmac: don't realloc wiphy during PCIe reset (diff)
downloadlinux-dev-569ce0a486fdf79606adc763086455b4534999a0.tar.xz
linux-dev-569ce0a486fdf79606adc763086455b4534999a0.zip
rtlwifi: rtl8821ae: make array static const and remove redundant assignment
The array channel_all can be make static const rather than populating it on the stack, this makes the code smaller. Also, variable place is being initialized with a value that is never read, so this assignment is redundant and can be removed. Before: text data bss dec hex filename 118537 9591 0 128128 1f480 realtek/rtlwifi/rtl8821ae/phy.o After: text data bss dec hex filename 118331 9687 0 128018 1f412 realtek/rtlwifi/rtl8821ae/phy.o Saves 110 bytes, (gcc version 9.2.1, amd64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions