OpenCloudOS-Kernel/drivers/net/wireless/rsi
Colin Ian King f4c8136418 rsi: make array fsm_state static const, makes object smaller
Don't populate the array fsm_state on the stack but instead it
static const. Makes the object code smaller by 154 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
   9213	   3904	      0	  13117	   333d	.../wireless/rsi/rsi_91x_debugfs.o

After:
   text	   data	    bss	    dec	    hex	filename
   8995	   3968	      0	  12963	   32a3	.../wireless/rsi/rsi_91x_debugfs.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/20210819125018.8577-1-colin.king@canonical.com
2021-08-29 11:32:01 +03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile rsi: add coex support 2018-03-13 18:36:57 +02:00
rsi_91x_coex.c rsi: File headers are not suitable for kernel-doc 2020-09-01 12:20:17 +03:00
rsi_91x_core.c rsi: remove redundant assignment 2021-02-08 13:19:30 +02:00
rsi_91x_debugfs.c rsi: make array fsm_state static const, makes object smaller 2021-08-29 11:32:01 +03:00
rsi_91x_hal.c rsi: fix error code in rsi_load_9116_firmware() 2021-08-21 20:27:16 +03:00
rsi_91x_mac80211.c rsi: fix AP mode with WPA failure due to encrypted EAPOL 2021-06-15 16:42:18 +03:00
rsi_91x_main.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
rsi_91x_mgmt.c rsi: fix AP mode with WPA failure due to encrypted EAPOL 2021-06-15 16:42:18 +03:00
rsi_91x_ps.c rsi: remove unused including <linux/version.h> 2021-04-13 14:51:41 -07:00
rsi_91x_sdio.c rsi: Use resume_noirq for SDIO 2021-04-18 09:31:50 +03:00
rsi_91x_sdio_ops.c rsi: Clean up loop in the interrupt handler 2020-11-10 20:55:06 +02:00
rsi_91x_usb.c rsi: fix an error code in rsi_probe() 2021-08-21 20:27:48 +03:00
rsi_91x_usb_ops.c rsi: rsi_91x_usb_ops: Source file headers are not good candidates for kernel-doc 2020-11-07 18:02:49 +02:00
rsi_boot_params.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_coex.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_common.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_debugfs.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_hal.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_main.h rsi: fix AP mode with WPA failure due to encrypted EAPOL 2021-06-15 16:42:18 +03:00
rsi_mgmt.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_ps.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_sdio.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_usb.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00