Staging: rtl8723bs: remove useless structs in hal_phy.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 22 Mar 2021 13:37:13 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Mar 2021 16:05:45 +0000 (17:05 +0100)
Remove the following unreferenced struct in include/hal_phy.h:

struct r_antenna_select_ofdm

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210322133717.17797-16-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/hal_phy.h

index d2f5e7a..90bb5d7 100644 (file)
@@ -146,30 +146,6 @@ struct SwChnlCmd {
        u32                     msDelay;
 };
 
-struct r_antenna_select_ofdm {
-#ifdef __LITTLE_ENDIAN
-       u32             r_tx_antenna:4;
-       u32             r_ant_l:4;
-       u32             r_ant_non_ht:4;
-       u32             r_ant_ht1:4;
-       u32             r_ant_ht2:4;
-       u32             r_ant_ht_s1:4;
-       u32             r_ant_non_ht_s1:4;
-       u32             OFDM_TXSC:2;
-       u32             Reserved:2;
-#else
-       u32             Reserved:2;
-       u32             OFDM_TXSC:2;
-       u32             r_ant_non_ht_s1:4;
-       u32             r_ant_ht_s1:4;
-       u32             r_ant_ht2:4;
-       u32             r_ant_ht1:4;
-       u32             r_ant_non_ht:4;
-       u32             r_ant_l:4;
-       u32             r_tx_antenna:4;
-#endif
-};
-
 /*--------------------------Exported Function prototype---------------------*/
 
 #endif /* __HAL_COMMON_H__ */