Browse Source

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>
Denis Kirjanov 14 years ago
parent
commit
9c33008412
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/staging/rt2860/rt_main_dev.c

+ 0 - 2
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;
 
 }