linux/drivers/net/wireless/broadcom
Colin Ian King d5633bb2c6 brcmsmac: make const array ucode_ofdm_rates static, reduces object code size
Don't populate const array ucode_ofdm_rates on the stack, instead make it
static. Makes the object code smaller by 100 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
  39482	    564	      0	  40046	   9c6e	phy_cmn.o

After
   text	   data	    bss	    dec	    hex	filename
  39326	    620	      0	  39946	   9c0a	phy_cmn.o

(gcc 6.3.0, x86-64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2017-09-25 11:23:10 +03:00
..
b43 b43: fix unitialized reads of ret by initializing the array to zero 2017-09-20 15:41:07 +03:00
b43legacy b43legacy: fix unitialized reads of ret by initializing the array to zero 2017-09-20 15:41:08 +03:00
brcm80211 brcmsmac: make const array ucode_ofdm_rates static, reduces object code size 2017-09-25 11:23:10 +03:00
Kconfig
Makefile