Staging: rtl8723bs: remove named enums in rtw_mlme.h

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>
This commit is contained in:
Marco Cesati
2021-03-24 13:44:24 +01:00
committed by Greg Kroah-Hartman
parent 5005ac4d2f
commit cc8c7cca30

View 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,