summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorDenis Kirjanov <dkirjanov@kernel.org>2011-01-10 20:09:30 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-20 12:06:06 -0800
commit9c33008412683eba91bce2dc4575f28c728b6bd1 (patch)
treeea24d2976098c5518403980920f94ed3e9880cae /drivers/staging
parente375870b9295be40de7372c3c9de6799e254c96a (diff)
staging: rt2860: Fix incorrect netif_stop_queue usage warning
The TX queues are allocated inside register_netdev. It doesn't make any sense to stop the queue before allocation. Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rt2860/rt_main_dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rt2860/rt_main_dev.c b/drivers/staging/rt2860/rt_main_dev.c
index 701561d6b6fd..236dd36d349a 100644
--- a/drivers/staging/rt2860/rt_main_dev.c
+++ b/drivers/staging/rt2860/rt_main_dev.c
@@ -484,8 +484,6 @@ struct net_device *RtmpPhyNetDevInit(struct rt_rtmp_adapter *pAd,
net_dev->ml_priv = (void *)pAd;
pAd->net_dev = net_dev;
- netif_stop_queue(net_dev);
-
return net_dev;
}