projects
/
wrapfs-2.6.36.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a015c0
)
staging: rt2860: Fix incorrect netif_stop_queue usage warning
author
Denis Kirjanov
<dkirjanov@kernel.org>
Mon, 10 Jan 2011 20:09:30 +0000
(20:09 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 17 Feb 2011 22:46:47 +0000
(14:46 -0800)
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>
drivers/staging/rt2860/rt_main_dev.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rt2860/rt_main_dev.c
b/drivers/staging/rt2860/rt_main_dev.c
index ad60ceaf4b88694a50242cebde07d31af1c69d8d..caf8b7623cb1df079ae8ebfee053ba6808c1fd62 100644
(file)
--- a/
drivers/staging/rt2860/rt_main_dev.c
+++ b/
drivers/staging/rt2860/rt_main_dev.c
@@
-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;
}