Skip to content

Commit 3c6d3e6

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: rtl8723bs: Remove unused macros in rtw_mlme.h
Remove unused macros. Removed also commented out macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/289075f2b84a1ad9be85417a8c9736059ef709ed.1719155208.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7c74a88 commit 3c6d3e6

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

drivers/staging/rtl8723bs/include/rtw_mlme.h

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#define WIFI_NULL_STATE 0x00000000
2828
#define WIFI_ASOC_STATE 0x00000001 /* Under Linked state... */
29-
#define WIFI_REASOC_STATE 0x00000002
3029
#define WIFI_SLEEP_STATE 0x00000004
3130
#define WIFI_STATION_STATE 0x00000008
3231
#define WIFI_AP_STATE 0x00000010
@@ -35,25 +34,8 @@
3534
#define WIFI_UNDER_LINKING 0x00000080
3635

3736
#define WIFI_UNDER_WPS 0x00000100
38-
/* define WIFI_UNDER_CMD 0x00000200 */
39-
/* define WIFI_UNDER_P2P 0x00000400 */
4037
#define WIFI_STA_ALIVE_CHK_STATE 0x00000400
4138
#define WIFI_SITE_MONITOR 0x00000800 /* to indicate the station is under site surveying */
42-
#ifdef WDS
43-
#define WIFI_WDS 0x00001000
44-
#define WIFI_WDS_RX_BEACON 0x00002000 /* already rx WDS AP beacon */
45-
#endif
46-
#ifdef AUTO_CONFIG
47-
#define WIFI_AUTOCONF 0x00004000
48-
#define WIFI_AUTOCONF_IND 0x00008000
49-
#endif
50-
51-
/**
52-
* ========== P2P Section Start ===============
53-
#define WIFI_P2P_LISTEN_STATE 0x00010000
54-
#define WIFI_P2P_GROUP_FORMATION_STATE 0x00020000
55-
========== P2P Section End ===============
56-
*/
5739

5840
/* ifdef UNDER_MPTEST */
5941
#define WIFI_MP_STATE 0x00010000
@@ -62,7 +44,6 @@
6244
#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continuous tx background due to out of skb */
6345
#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continuous tx */
6446
#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continuous tx with carrier suppression */
65-
#define WIFI_MP_LPBK_STATE 0x00400000
6647
/* endif */
6748

6849
/* define _FW_UNDER_CMD WIFI_UNDER_CMD */
@@ -115,10 +96,6 @@ MUST always be first lock xmit_priv.lock and then call any queue functions
11596
which take __queue.lock.
11697
*/
11798

118-
119-
#define traffic_threshold 10
120-
#define traffic_scan_period 500
121-
12299
struct sitesurvey_ctrl {
123100
u64 last_tx_pkts;
124101
uint last_rx_pkts;

0 commit comments

Comments
 (0)