OpenCloudOS-Kernel/drivers/staging/rtl8188eu
Colin Ian King 0ba4d388d7 staging: rtl8188eu: make two arrays static const, makes object smaller
Don't populate two arrays on the stack but instead make them
static const. Makes the object code smaller by 49 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
  26821	   5616	      0	  32437	   7eb5	rtl8188eu/core/rtw_ieee80211.o

After:
   text	   data	    bss	    dec	    hex	filename
  26612	   5776	      0	  32388	   7e84	rtl8188eu/core/rtw_ieee80211.o

(gcc version 9.2.1, amd64)

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20190906173949.21860-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-12 10:35:52 +01:00
..
core staging: rtl8188eu: make two arrays static const, makes object smaller 2019-09-12 10:35:52 +01:00
hal staging: rtl8188eu: remove redundant assignment to variable rtstatus 2019-07-31 13:37:13 +02:00
include staging: rtl8188eu: Replace function rtw_alloc_network() 2019-07-22 07:34:15 +02:00
os_dep staging: r8188eu: use skb_put_data instead of skb_put/memcpy pair 2019-09-03 09:39:53 +02:00
Kconfig staging: rtl8188eu: use help instead of ---help--- in Kconfig 2019-05-20 10:49:07 +02:00
Makefile staging: rtl8188eu: rename odm_HWConfig 2018-10-02 15:20:40 -07:00
TODO staging: rtl8188eu: Fix spelling mistake 2018-08-27 19:29:39 +02:00