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

enum dot11AuthAlgrthmNum [name]
enum  _band [name]
enum DriverInterface [definition]
enum scan_result_type [definition]

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

index 25cfb4cc021b100dcda70dfff488d5500689a148..87a1fa8f347e7eccf85d2651d6e4613a4fa5fc2b 100644 (file)
@@ -71,7 +71,7 @@
 #define _FW_UNDER_SURVEY       WIFI_SITE_MONITOR
 
 
-enum dot11AuthAlgrthmNum {
+enum {
  dot11AuthAlgrthm_Open = 0,
  dot11AuthAlgrthm_Shared,
  dot11AuthAlgrthm_8021X,
@@ -87,7 +87,7 @@ enum rt_scan_type {
        SCAN_MIX,
 };
 
-enum  _band {
+enum {
        GHZ24_50 = 0,
        GHZ_50,
        GHZ_24,
@@ -96,18 +96,6 @@ enum  _band {
 
 #define rtw_band_valid(band) ((band) >= GHZ24_50 && (band) < GHZ_MAX)
 
-enum DriverInterface {
-       DRIVER_WEXT =  1,
-       DRIVER_CFG80211 = 2
-};
-
-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,