projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e375870
)
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, 20 Jan 2011 20:06:06 +0000
(12:06 -0800)
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>
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
701561d
..
236dd36
100644
(file)
--- a/
drivers/staging/rt2860/rt_main_dev.c
+++ b/
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;
}