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

enum rt_spinlock_type

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

index 0b1b3e14d451d1f5aa6d74d4114b62285a977d9a..8168dc14e87960feaa7e673e4c832256fb02bb12 100644 (file)
@@ -27,47 +27,6 @@ enum hal_status {
 };
 
 
-/*  */
-/*  Declare for ODM spin lock definition temporarily from compile pass. */
-/*  */
-enum rt_spinlock_type {
-       RT_TX_SPINLOCK = 1,
-       RT_RX_SPINLOCK = 2,
-       RT_RM_SPINLOCK = 3,
-       RT_CAM_SPINLOCK = 4,
-       RT_SCAN_SPINLOCK = 5,
-       RT_LOG_SPINLOCK = 7,
-       RT_BW_SPINLOCK = 8,
-       RT_CHNLOP_SPINLOCK = 9,
-       RT_RF_OPERATE_SPINLOCK = 10,
-       RT_INITIAL_SPINLOCK = 11,
-       RT_RF_STATE_SPINLOCK = 12, /*  For RF state. Added by Bruce, 2007-10-30. */
-       /* Shall we define Ndis 6.2 SpinLock Here ? */
-       RT_PORT_SPINLOCK = 16,
-       RT_H2C_SPINLOCK = 20, /*  For H2C cmd. Added by tynli. 2009.11.09. */
-
-       RT_BTData_SPINLOCK = 25,
-
-       RT_WAPI_OPTION_SPINLOCK = 26,
-       RT_WAPI_RX_SPINLOCK = 27,
-
-       /*  add for 92D CCK control issue */
-       RT_CCK_PAGEA_SPINLOCK = 28,
-       RT_BUFFER_SPINLOCK = 29,
-       RT_CHANNEL_AND_BANDWIDTH_SPINLOCK = 30,
-       RT_GEN_TEMP_BUF_SPINLOCK = 31,
-       RT_AWB_SPINLOCK = 32,
-       RT_FW_PS_SPINLOCK = 33,
-       RT_HW_TIMER_SPIN_LOCK = 34,
-       RT_MPT_WI_SPINLOCK = 35,
-       RT_P2P_SPIN_LOCK = 36,  /*  Protect P2P context */
-       RT_DBG_SPIN_LOCK = 37,
-       RT_IQK_SPINLOCK = 38,
-       RT_PENDED_OID_SPINLOCK = 39,
-       RT_CHNLLIST_SPINLOCK = 40,
-       RT_INDIC_SPINLOCK = 41, /* protect indication */
-};
-
        #if defined(__LITTLE_ENDIAN)
                #define ODM_ENDIAN_TYPE                 ODM_ENDIAN_LITTLE
        #else