summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-17 10:52:12 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-18 04:21:03 +0200
commit09e83b5d7d1878065e2453239b49b684cd0fe4e5 (patch)
treea08d06c81d7bcd47e432443e24b126101ea1f2b9 /net/mac80211
parentnetdev: Allocate multiple queues for TX. (diff)
downloadlinux-09e83b5d7d1878065e2453239b49b684cd0fe4e5.tar.xz
linux-09e83b5d7d1878065e2453239b49b684cd0fe4e5.zip
netdev: Kill NETIF_F_MULTI_QUEUE.
There is no need for a feature bit for something that can be tested by simply checking the TX queue count. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index b486e634f4fe..c74607eda1ee 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1678,9 +1678,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
if (!mdev)
goto fail_mdev_alloc;
- if (ieee80211_num_queues(hw) > 1)
- mdev->features |= NETIF_F_MULTI_QUEUE;
-
mwdev = netdev_priv(mdev);
mdev->ieee80211_ptr = mwdev;
mwdev->wiphy = local->hw.wiphy;