Skip to content

Commit

Permalink
staging: rt2860: Fix incorrect netif_stop_queue usage warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis Kirjanov authored and Greg Kroah-Hartman committed Jan 20, 2011
1 parent e375870 commit 9c33008
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/rt2860/rt_main_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand Down

0 comments on commit 9c33008

Please sign in to comment.