staging: rtl8192e: Remove unused constants starting with MAX_RX_QUEUE
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Thu, 26 Oct 2023 05:44:30 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Oct 2023 11:08:49 +0000 (13:08 +0200)
Remove unused constants.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/0809e3380ce76354d689edd80b82adada5a18d4e.1698295861.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8190P_def.h
drivers/staging/rtl8192e/rtl8192e/r8192E_phyreg.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl819x_Qos.h
drivers/staging/rtl8192e/rtl819x_TS.h
drivers/staging/rtl8192e/rtllib.h

index c229fd244a48d3cb5b829edf577d6b1bda0e0dc0..8c85f1c866d3e886cf19c477d0bf779551e206d0 100644 (file)
@@ -11,8 +11,6 @@
 
 #define                MAX_SILENT_RESET_RX_SLOT_NUM    10
 
-#define RX_MPDU_QUEUE                          0
-
 enum rtl819x_loopback {
        RTL819X_NO_LOOPBACK = 0,
        RTL819X_MAC_LOOPBACK = 1,
index 24fb0ca539ea5080783c2521d1458b57e5e4af31..c48c56869c19ead8cd44a4f6c2859b24f51beb4b 100644 (file)
 #define bPAEnd                         0xf
 #define bTREnd                         0x0f000000
 #define bRFEnd                         0x000f0000
-/* T2R */
-#define bCCAMask                       0x000000f0
-#define bR2RCCAMask                    0x00000f00
-#define bHSSI_R2TDelay                 0xf8000000
-#define bHSSI_T2RDelay                 0xf80000
 /* Channel gain at continue TX. */
-#define bContTxHSSI                    0x400
-#define bIGFromCCK                     0x200
-#define bAGCAddress                    0x3f
-#define bRxHPTx                                0x7000
-#define bRxHPT2R                       0x38000
-#define bRxHPCCKIni                    0xc0000
-#define bAGCTxCode                     0xc00000
-#define bAGCRxCode                     0x300000
 #define b3WireDataLength               0x800
 #define b3WireAddressLength            0x400
-#define b3WireRFPowerDown              0x1
-/*#define bHWSISelect                  0x8 */
-#define b2GPAPEPolarity                        0x80000000
-#define bRFSW_TxDefaultAnt             0x3
-#define bRFSW_TxOptionAnt              0x30
-#define bRFSW_RxDefaultAnt             0x300
-#define bRFSW_RxOptionAnt              0x3000
-#define bRFSI_3WireData                        0x1
-#define bRFSI_3WireClock               0x2
-#define bRFSI_3WireLoad                        0x4
-#define bRFSI_3WireRW                  0x8
 /* 3-wire total control */
-#define bRFSI_3Wire                    0xf
 #define bRFSI_RFENV                    0x10
-#define bRFSI_TRSW                     0x20
-#define bRFSI_TRSWB                    0x40
-#define bRFSI_ANTSW                    0x100
-#define bRFSI_ANTSWB                   0x200
-#define bRFSI_PAPE                     0x400
-#define bBandSelect                    0x1
-#define bHTSIG2_GI                     0x80
-#define bHTSIG2_Smoothing              0x01
-#define bHTSIG2_Sounding               0x02
-#define bHTSIG2_Aggreaton              0x08
-#define bHTSIG2_STBC                   0x30
-#define bHTSIG2_AdvCoding              0x40
-#define bHTSIG2_NumOfHTLTF             0x300
-#define bHTSIG2_CRC8                   0x3fc
-#define bHTSIG1_MCS                    0x7f
-#define bHTSIG1_BandWidth              0x80
-#define bHTSIG1_HTLength               0xffff
-#define bLSIG_Rate                     0xf
-#define bLSIG_Reserved                 0x10
-#define bLSIG_Length                   0x1fffe
-#define bLSIG_Parity                   0x20
-#define bCCKRxPhase                    0x4
 #define bLSSIReadAddress               0x3f000000 /* LSSI "read" address */
 #define bLSSIReadEdge                  0x80000000 /* LSSI "read" edge signal */
 #define bLSSIReadBackData              0xfff
-#define bLSSIReadOKFlag                        0x1000
-#define bCCKSampleRate                 0x8 /* 0: 44 MHz, 1: 88MHz */
-
-#define bRegulator0Standby             0x1
-#define bRegulatorPLLStandby           0x2
-#define bRegulator1Standby             0x4
-#define bPLLPowerUp                    0x8
-#define bDPLLPowerUp                   0x10
-#define bDA10PowerUp                   0x20
-#define bAD7PowerUp                    0x200
-#define bDA6PowerUp                    0x2000
-#define bXtalPowerUp                   0x4000
-#define b40MDClkPowerUP                        0x8000
-#define bDA6DebugMode                  0x20000
+
 #define bDA6Swing                      0x380000
 #define bADClkPhase                    0x4000000
 #define b80MClkDelay                   0x18000000
index a6c47388d72c22b83418c65836d71e5c53633247..a4afbf3e934d5ae6162dbfd4b66e3aa6711d78d6 100644 (file)
@@ -91,8 +91,6 @@
 
 #define MAX_TX_QUEUE                           9
 
-#define MAX_RX_QUEUE                           1
-
 #define MAX_RX_COUNT                           64
 #define MAX_TX_QUEUE_COUNT                     9
 
index f547de4c1da3ba7b3705c1c7207e64dcf2f73425..1c00092ea3a59ad161d9c7582299fe07b0981eea 100644 (file)
@@ -21,7 +21,6 @@ struct octet_string {
 #define AC1_BK 1
 #define AC2_VI 2
 #define AC3_VO 3
-#define AC_MAX 4
 
 enum direction_value {
        DIR_UP                  = 0,
index ab737428d4a70798b2617100bb91de57efaebb3f..fff36315f1744fd20d79b355e1edcecd8634bd06 100644 (file)
@@ -10,7 +10,6 @@
 #define TS_ADDBA_DELAY         60
 
 #define TOTAL_TS_NUM           16
-#define TCLAS_NUM              4
 
 enum tr_select {
        TX_DIR = 0,
index dc3488d9693fd3f992765b675742cd15b921c874..d2cf3cfaaaba31f641dfa3a05c3ecb90699e8f26 100644 (file)
@@ -911,7 +911,6 @@ enum {WMM_all_frame, WMM_two_frame, WMM_four_frame, WMM_six_frame};
        ((up) < 6) ? WME_AC_VI : \
        WME_AC_VO)
 
-#define        ETHER_ADDR_LEN          6       /* length of an Ethernet address */
 #define ETHERNET_HEADER_SIZE    14      /* length of two Ethernet address
                                         * plus ether type
                                         */