diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-12 18:49:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:12:42 -0400 |
commit | 176be728ee7d32cfd33702d82c0733e51f66ab5b (patch) | |
tree | d7b8feb17aab8da7300562ac1dff74002d5ef503 /include | |
parent | 14587ce2a8898de959f32dfd505b4871f09930d5 (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.h | 5 |
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 | ||
1020 | static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw) | ||
1021 | { | ||
1022 | return hw->queues; | ||
1023 | } | ||
1024 | |||
1025 | static inline struct ieee80211_rate * | 1020 | static inline struct ieee80211_rate * |
1026 | ieee80211_get_tx_rate(const struct ieee80211_hw *hw, | 1021 | ieee80211_get_tx_rate(const struct ieee80211_hw *hw, |
1027 | const struct ieee80211_tx_info *c) | 1022 | const struct ieee80211_tx_info *c) |