staging: rt2860: Fix incorrect netif_stop_queue usage warning
commit 9c33008412683eba91bce2dc4575f28c728b6bd1 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0b6cf7fe83
commit
a7e34f90a9
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user