diff options
author | Denis Kirjanov <dkirjanov@kernel.org> | 2011-01-10 20:09:30 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-20 12:06:06 -0800 |
commit | 9c33008412683eba91bce2dc4575f28c728b6bd1 (patch) | |
tree | ea24d2976098c5518403980920f94ed3e9880cae /drivers/staging | |
parent | e375870b9295be40de7372c3c9de6799e254c96a (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.c | 2 |
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 701561d6b6f..236dd36d349 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; } |