]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8723bs: os_dep: Remove unused declarations
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Wed, 21 Aug 2019 17:01:10 +0000 (22:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:24:45 +0000 (10:24 +0200)
Remove unused Macro declarations

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/1566406901-6700-1-git-send-email-hariprasad.kelam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c
drivers/staging/rtl8723bs/os_dep/wifi_regd.c

index 57876463b9b250fe1c7bcf93a26e31baca98594f..f819abb756dc140d6861348b3b63535df32727fd 100644 (file)
@@ -19,8 +19,6 @@
 #define RTW_MAX_REMAIN_ON_CHANNEL_DURATION 5000 /* ms */
 #define RTW_MAX_NUM_PMKIDS 4
 
-#define RTW_CH_MAX_2G_CHANNEL               14      /* Max channel in 2G band */
-
 static const u32 rtw_cipher_suites[] = {
        WLAN_CIPHER_SUITE_WEP40,
        WLAN_CIPHER_SUITE_WEP104,
index 90c2997256b7bc1c5e1aa17b55835cf1025a532b..0e565c0ed6bc44376c97d2c370b9210bf37d590b 100644 (file)
 #define RATE_COUNT 4
 
 /*  combo scan */
-#define WEXT_CSCAN_AMOUNT 9
-#define WEXT_CSCAN_BUF_LEN             360
 #define WEXT_CSCAN_HEADER              "CSCAN S\x01\x00\x00S\x00"
 #define WEXT_CSCAN_HEADER_SIZE         12
 #define WEXT_CSCAN_SSID_SECTION                'S'
 #define WEXT_CSCAN_CHANNEL_SECTION     'C'
-#define WEXT_CSCAN_NPROBE_SECTION      'N'
 #define WEXT_CSCAN_ACTV_DWELL_SECTION  'A'
 #define WEXT_CSCAN_PASV_DWELL_SECTION  'P'
 #define WEXT_CSCAN_HOME_DWELL_SECTION  'H'
index aa2f62acc994ddc659728ae6382c8649fd1711f9..578b9f734231e0ce0a81d8c1d3045eb728ce3773 100644 (file)
        REG_RULE(2467 - 10, 2472 + 10, 40, 0, 20,       \
        NL80211_RRF_PASSIVE_SCAN)
 
-/* 2G chan 14, PASSIVS SCAN, NO OFDM (B only) */
-#define RTW_2GHZ_CH14  \
-       REG_RULE(2484 - 10, 2484 + 10, 40, 0, 20,       \
-       NL80211_RRF_PASSIVE_SCAN | NL80211_RRF_NO_OFDM)
-
 static const struct ieee80211_regdomain rtw_regdom_rd = {
        .n_reg_rules = 3,
        .alpha2 = "99",