staging: r8188eu: RfRegChnlVal[1] is set but not used
authorMartin Kaiser <martin@kaiser.cx>
Sat, 5 Feb 2022 11:37:39 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:17:57 +0000 (10:17 +0100)
commit2096151fbe67bb09600d22c8bca1ebedfdd293a7
tree97aab5bc3d1e7113cf2d0c3dfd6638866be59034
parent246c4680a94ec0844053d4f7cfe2aa923e063a2c
staging: r8188eu: RfRegChnlVal[1] is set but not used

RfRegChnlVal[1] in hal_data_8188e is set but not used. This driver needs
only one RfRegChnlVal setting. Replace the array with a single u32.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220205113741.379070-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtl8188e_hal.h