staging: r8188eu: remove some unused enums
authorMichael Straube <straube.linux@gmail.com>
Thu, 8 Sep 2022 07:28:15 +0000 (09:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 07:52:28 +0000 (09:52 +0200)
Remove some unused enums to clean up the driver code.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220908072815.31002-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtl8188e_xmit.h
drivers/staging/r8188eu/include/rtw_mlme.h
drivers/staging/r8188eu/include/wlan_bssdef.h

index c69fed2..6db7fab 100644 (file)
 /* OFFSET 20 */
 #define        RTY_LMT_EN              BIT(17)
 
-enum TXDESC_SC {
-       SC_DONT_CARE = 0x00,
-       SC_UPPER = 0x01,
-       SC_LOWER = 0x02,
-       SC_DUPLICATE = 0x03
-};
 /* OFFSET 20 */
 #define SGI                    BIT(6)
 #define USB_TXAGG_NUM_SHT      24
index 5dc2fe7..a959e21 100644 (file)
@@ -63,17 +63,6 @@ enum rt_scan_type {
        SCAN_MIX,
 };
 
-enum SCAN_RESULT_TYPE {
-       SCAN_RESULT_P2P_ONLY = 0,       /* Will return all the P2P devices. */
-       SCAN_RESULT_ALL = 1,            /* Will return all the scanned device,
-                                        * include AP. */
-       SCAN_RESULT_WFD_TYPE = 2        /* Will just return the correct WFD
-                                        * device. */
-                                       /* If this device is Miracast sink
-                                        * device, it will just return all the
-                                        * Miracast source devices. */
-};
-
 /*
 there are several "locks" in mlme_priv,
 since mlme_priv is a shared resource between many threads,
index 9d1c9e7..81bda91 100644 (file)
@@ -133,10 +133,6 @@ struct ndis_802_11_assoc_info {
        u32  OffsetResponseIEs;
 };
 
-enum ndis_802_11_reload_def {
-       Ndis802_11ReloadWEPKeys
-};
-
 /*  Key mapping keys require a BSSID */
 struct ndis_802_11_key {
        u32           Length;             /*  Length of this structure */