summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-03-12 23:49:28 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:12:42 -0400
commit176be728ee7d32cfd33702d82c0733e51f66ab5b (patch)
treed7b8feb17aab8da7300562ac1dff74002d5ef503 /include/net
parent14587ce2a8898de959f32dfd505b4871f09930d5 (diff)
downloadop-kernel-dev-176be728ee7d32cfd33702d82c0733e51f66ab5b.zip
op-kernel-dev-176be728ee7d32cfd33702d82c0733e51f66ab5b.tar.gz
mac80211: remove ieee80211_num_regular_queues
This inline is useless and actually makes the code _longer_ rather than shorter. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 12a52ef..3bfc6c6 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1017,11 +1017,6 @@ static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, u8 *addr)
memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN);
}
-static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw)
-{
- return hw->queues;
-}
-
static inline struct ieee80211_rate *
ieee80211_get_tx_rate(const struct ieee80211_hw *hw,
const struct ieee80211_tx_info *c)
OpenPOWER on IntegriCloud