summaryrefslogtreecommitdiff
path: root/drivers/net/ibm_newemac
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-11-01 18:49:51 +0300
committerDavid S. Miller <davem@davemloft.net>2010-11-01 18:49:51 +0300
commit811718f071bbd337a823b2827ca3ea2b7205d162 (patch)
tree231abbe95ab908ec834147d9974cfa55a222ba38 /drivers/net/ibm_newemac
parentb0786b430c982dffbb44d8030e6b6088671ce745 (diff)
downloadlinux-811718f071bbd337a823b2827ca3ea2b7205d162.tar.xz
ibm_newemac: Remove netif_stop_queue() in emac_probe().
Touching the queue state before register_netdev is not allowed, and besides the queue state before ->open() is "don't care" Reported-by: Josh Boyer <jwboyer@gmail.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r--drivers/net/ibm_newemac/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c
index 385dc3204cb7..06bb9b799458 100644
--- a/drivers/net/ibm_newemac/core.c
+++ b/drivers/net/ibm_newemac/core.c
@@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct platform_device *ofdev,
SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops);
netif_carrier_off(ndev);
- netif_stop_queue(ndev);
err = register_netdev(ndev);
if (err) {