Skip to contentSkip to conversation

staging: rt2860: Fix incorrect netif_stop_queue usage warning

PATCH New Denis Kirjanov 1 participant 1 message Jan 10, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/rt2860/rt_main_dev.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/staging/rt2860/rt_main_dev.c +0 -2
index ad60cea..caf8b76 100644
@@ -483,8 +483,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;
 
 }
Signature · 1 line
1.7.3.4