]> err.no Git - linux-2.6/blobdiff - include/net/mac80211.h
Merge branch 'linus' into cpus4096-for-linus
[linux-2.6] / include / net / mac80211.h
index 24a69f6075c2273471e0240ae45e4e9b12f3fcd5..4dd3d93e196025d162217a0d6107a28733ac7af9 100644 (file)
@@ -847,20 +847,12 @@ static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, u8 *addr)
 
 static inline int ieee80211_num_regular_queues(struct ieee80211_hw *hw)
 {
-#ifdef CONFIG_MAC80211_QOS
        return hw->queues;
-#else
-       return 1;
-#endif
 }
 
 static inline int ieee80211_num_queues(struct ieee80211_hw *hw)
 {
-#ifdef CONFIG_MAC80211_QOS
        return hw->queues + hw->ampdu_queues;
-#else
-       return 1;
-#endif
 }
 
 static inline struct ieee80211_rate *