Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: remove unused macros

Remove many macros from wifi.h and ieee80211.h because they are unused.

Signed-off-by: Ross Schmidt <ross.schm.dev@gmail.com>
Link: https://lore.kernel.org/r/20201208040733.379197-21-ross.schm.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ross Schmidt and committed by
Greg Kroah-Hartman
a228b401 5b45010f

-20
-5
drivers/staging/rtl8723bs/include/ieee80211.h
··· 348 348 #define WLAN_REASON_JOIN_WRONG_CHANNEL 65534 349 349 #define WLAN_REASON_EXPIRATION_CHK 65535 350 350 351 - /* EIDs defined by IEEE 802.11h - END */ 352 - #define WLAN_EID_20_40_BSS_COEXISTENCE 72 353 - #define WLAN_EID_20_40_BSS_INTOLERANT 73 354 - #define WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS 74 355 - 356 351 #define IEEE80211_MGMT_HDR_LEN 24 357 352 #define IEEE80211_DATA_HDR3_LEN 24 358 353 #define IEEE80211_DATA_HDR4_LEN 30
-15
drivers/staging/rtl8723bs/include/wifi.h
··· 387 387 388 388 #define _FIXED_IE_LENGTH_ _BEACON_IE_OFFSET_ 389 389 390 - #define _SUPPORTED_CH_IE_ 36 391 - #define _CH_SWTICH_ANNOUNCE_ 37 /* Secondary Channel Offset */ 392 - 393 - #define _FTIE_ 55 394 - #define _TIMEOUT_ITVL_IE_ 56 395 - #define _SRC_IE_ 59 396 - 397 - #define _RIC_Descriptor_IE_ 75 398 - #define _LINK_ID_IE_ 101 399 - #define _CH_SWITCH_TIMING_ 104 400 - #define _PTI_BUFFER_STATUS_ 106 401 - #define _EXT_CAP_IE_ 127 402 - 403 - #define _RESERVED47_ 47 404 - 405 390 enum ELEMENT_ID { 406 391 EID_SsId = 0, /* service set identifier (0:32) */ 407 392 EID_SupRates = 1, /* supported rates (1:8) */