aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Aiuto <fabioaiuto83@gmail.com>2021-07-17 16:56:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 10:22:00 +0200
commita13d275b9b482a73c2224b99b08cdda4b73f5d64 (patch)
tree4d12c0a2efb50db1fbf3693a202972f2040e6ad7
parentstaging: rtl8723bs: fix post-commit camel case issues (diff)
downloadlinux-dev-a13d275b9b482a73c2224b99b08cdda4b73f5d64.tar.xz
linux-dev-a13d275b9b482a73c2224b99b08cdda4b73f5d64.zip
staging: rtl8723bs: remove unused macros in include/ieee80211.h
remove unused macros in include/ieee80211.h Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/c50cba3974772347888bd55085b1e5e44ef0687d.1626533647.git.fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/include/ieee80211.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl8723bs/include/ieee80211.h
index f29b7a92d9ac..9fa79146c39a 100644
--- a/drivers/staging/rtl8723bs/include/ieee80211.h
+++ b/drivers/staging/rtl8723bs/include/ieee80211.h
@@ -158,15 +158,7 @@ enum network_type {
#define is_supported_24g(net_type) ((net_type) & SUPPORTED_24G_NETTYPE_MSK ? true : false)
-#define IsEnableHWCCK(net_type) is_supported_24g(net_type)
-#define IsEnableHWOFDM(NetType) (((NetType) & (WIRELESS_11G|WIRELESS_11_24N)) ? true : false)
-
-#define IsSupportedRxCCK(NetType) IsEnableHWCCK(NetType)
-#define IsSupportedRxOFDM(NetType) IsEnableHWOFDM(NetType)
-#define IsSupportedRxHT(NetType) IsEnableHWOFDM(NetType)
-
#define IsSupportedTxCCK(NetType) (((NetType) & (WIRELESS_11B)) ? true : false)
-#define IsSupportedTxOFDM(NetType) (((NetType) & (WIRELESS_11G) ? true : false)
#define is_supported_ht(net_type) (((net_type) & (WIRELESS_11_24N)) ? true : false)
struct ieee_param {