ifconfig(8): Drop two unused macros from ifieee80211.c
authorAaron LI <aly@aaronly.me>
Sun, 12 Apr 2020 13:36:22 +0000 (21:36 +0800)
committerAaron LI <aly@aaronly.me>
Fri, 26 Jun 2020 14:52:59 +0000 (22:52 +0800)
Obtained from FreeBSD:
https://github.com/freebsd/freebsd/commit/1ce3befafefa7226bcff3621562943176fe87ff3

sbin/ifconfig/ifieee80211.c

index 64b61e6..1b91760 100644 (file)
@@ -1438,9 +1438,6 @@ getmodeflags(const char *val)
        return flags;
 }
 
-#define        IEEE80211_CHAN_HTA      (IEEE80211_CHAN_HT|IEEE80211_CHAN_5GHZ)
-#define        IEEE80211_CHAN_HTG      (IEEE80211_CHAN_HT|IEEE80211_CHAN_2GHZ)
-
 #define        _APPLY(_flags, _base, _param, _v) do {                          \
     if (_flags & IEEE80211_CHAN_HT) {                                  \
            if ((_flags & (IEEE80211_CHAN_5GHZ|IEEE80211_CHAN_2GHZ)) == 0) {\
@@ -1630,8 +1627,6 @@ DECL_CMD_FUNC(set80211maxretry, val, d)
 }
 #undef _APPLY_RATE
 #undef _APPLY
-#undef IEEE80211_CHAN_HTA
-#undef IEEE80211_CHAN_HTG
 
 static
 DECL_CMD_FUNC(set80211fragthreshold, val, d)