aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-03-12 18:49:28 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:12:42 -0400
commit176be728ee7d32cfd33702d82c0733e51f66ab5b (patch)
treed7b8feb17aab8da7300562ac1dff74002d5ef503 /include
parent14587ce2a8898de959f32dfd505b4871f09930d5 (diff)
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')
-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 12a52efcd0d1..3bfc6c6c8c4a 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)
1017 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN); 1017 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN);
1018} 1018}
1019 1019
1020static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw)
1021{
1022 return hw->queues;
1023}
1024
1025static inline struct ieee80211_rate * 1020static inline struct ieee80211_rate *
1026ieee80211_get_tx_rate(const struct ieee80211_hw *hw, 1021ieee80211_get_tx_rate(const struct ieee80211_hw *hw,
1027 const struct ieee80211_tx_info *c) 1022 const struct ieee80211_tx_info *c)