staging: r8188eu: remove some unused CAM defines
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:28 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:21 +0000 (19:31 +0100)
Remove some CAM-related defines which are not used in the r8188eu driver.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtl8188e_spec.h

index 3fa3b3e..25b3141 100644 (file)
@@ -510,28 +510,7 @@ Default: 00b.
 /*        8192C BW_OPMODE bits         (Offset 0x203, 8bit) */
 #define        BW_OPMODE_20MHZ                 BIT(2)
 
-/*        8192C CAM Config Setting (offset 0x250, 1 byte) */
-#define        CAM_VALID                       BIT(15)
-#define        CAM_NOTVALID                    0x0000
-#define        CAM_USEDK                       BIT(5)
-
-#define        CAM_CONTENT_COUNT               8
-
-#define        CAM_NONE                        0x0
-#define        CAM_WEP40                       0x01
-#define        CAM_TKIP                        0x02
-#define        CAM_AES                         0x04
-#define        CAM_WEP104                      0x05
-#define        CAM_SMS4                        0x6
-
-#define        TOTAL_CAM_ENTRY                 32
-#define        HALF_CAM_ENTRY                  16
-
-#define        CAM_CONFIG_USEDK                true
-#define        CAM_CONFIG_NO_USEDK             false
-
 #define        CAM_WRITE                       BIT(16)
-#define        CAM_READ                        0x00000000
 #define        CAM_POLLINIG                    BIT(31)
 
 #define        SCR_UseDK                       0x01