Staging: rtl8723bs: remove named enums in hal_intf.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 24 Mar 2021 12:44:34 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 14:03:01 +0000 (15:03 +0100)
Remove the following unnecessary enum names or definitions in
include/hal_intf.h:

enum rtl871x_hci_type [name]
enum hw_variables [name]
enum rt_eeprom_type [definition]
enum wowlan_subcode [definition]

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

index 3cd46a670e6dea15ad1cadfc77042c0587504c95..45bebbadb7ca9b77193d420aef3d4475350144d7 100644 (file)
@@ -8,14 +8,14 @@
 #define __HAL_INTF_H__
 
 
-enum rtl871x_hci_type {
+enum {
        RTW_PCIE        = BIT0,
        RTW_USB         = BIT1,
        RTW_SDIO        = BIT2,
        RTW_GSPI        = BIT3,
 };
 
-enum hw_variables {
+enum {
        HW_VAR_MEDIA_STATUS,
        HW_VAR_MEDIA_STATUS1,
        HW_VAR_SET_OPMODE,
@@ -257,12 +257,6 @@ struct hal_ops {
        s32 (*fill_h2c_cmd)(struct adapter *, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer);
 };
 
-enum rt_eeprom_type {
-       EEPROM_93C46,
-       EEPROM_93C56,
-       EEPROM_BOOT_EFUSE,
-};
-
 #define RF_CHANGE_BY_INIT      0
 #define RF_CHANGE_BY_IPS       BIT28
 #define RF_CHANGE_BY_PS                BIT29
@@ -272,22 +266,6 @@ enum rt_eeprom_type {
 #define GET_EEPROM_EFUSE_PRIV(adapter) (&adapter->eeprompriv)
 #define is_boot_from_eeprom(adapter) (adapter->eeprompriv.EepromOrEfuse)
 
-enum wowlan_subcode {
-       WOWLAN_PATTERN_MATCH    = 1,
-       WOWLAN_MAGIC_PACKET             = 2,
-       WOWLAN_UNICAST                  = 3,
-       WOWLAN_SET_PATTERN              = 4,
-       WOWLAN_DUMP_REG                 = 5,
-       WOWLAN_ENABLE                   = 6,
-       WOWLAN_DISABLE                  = 7,
-       WOWLAN_STATUS                   = 8,
-       WOWLAN_DEBUG_RELOAD_FW  = 9,
-       WOWLAN_DEBUG_1                  = 10,
-       WOWLAN_DEBUG_2                  = 11,
-       WOWLAN_AP_ENABLE                = 12,
-       WOWLAN_AP_DISABLE               = 13
-};
-
 #define Rx_Pairwisekey                 0x01
 #define Rx_GTK                                 0x02
 #define Rx_DisAssoc                            0x04