diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-02-05 12:37:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-08 10:17:57 +0100 |
commit | 2096151fbe67bb09600d22c8bca1ebedfdd293a7 (patch) | |
tree | 97aab5bc3d1e7113cf2d0c3dfd6638866be59034 /drivers/staging/r8188eu/include/rtl8188e_hal.h | |
parent | 246c4680a94ec0844053d4f7cfe2aa923e063a2c (diff) | |
download | linux-stable-2096151fbe67bb09600d22c8bca1ebedfdd293a7.tar.gz linux-stable-2096151fbe67bb09600d22c8bca1ebedfdd293a7.tar.bz2 linux-stable-2096151fbe67bb09600d22c8bca1ebedfdd293a7.zip |
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>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index c323476f5936..c6472d13e069 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -143,7 +143,7 @@ struct hal_data_8188e { struct bb_reg_def PHYRegDef[2]; /* Radio A/B */ - u32 RfRegChnlVal[2]; + u32 RfRegChnlVal; /* for host message to fw */ u8 LastHMEBoxNum; |