staging: r8188eu: remove unused defines and enums
authorMartin Kaiser <martin@kaiser.cx>
Wed, 20 Oct 2021 19:54:01 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Oct 2021 08:27:05 +0000 (10:27 +0200)
Remove a couple of unused defines and an unused enum
from rtl8188e_cmd.h.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211020195401.12931-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtl8188e_cmd.h

index 01404b7..1e01c16 100644 (file)
@@ -27,15 +27,6 @@ enum RTL8188E_H2C_CMD_ID {
        /* Class DM */
        H2C_DM_MACID_CFG                = 0x40,
        H2C_DM_TXBF                     = 0x41,
-
-       /* Class BT */
-       H2C_BT_COEX_MASK                = 0x60,
-       H2C_BT_COEX_GPIO_MODE           = 0x61,
-       H2C_BT_DAC_SWING_VAL            = 0x62,
-       H2C_BT_PSD_RST                  = 0x63,
-
-       /* Class */
-        H2C_RESET_TSF                  = 0xc0,
 };
 
 struct cmd_msg_parm {
@@ -44,10 +35,6 @@ struct cmd_msg_parm {
        u8 buf[6];
 };
 
-enum {
-       PWRS
-};
-
 struct setpwrmode_parm {
        u8 Mode;/* 0:Active,1:LPS,2:WMMPS */
        u8 SmartPS_RLBM;/* LPS= 0:PS_Poll,1:PS_Poll,2:NullData,WMM= 0:PS_Poll,1:NullData */