Commit 811718f0 authored by David S. Miller's avatar David S. Miller

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: default avatarJosh Boyer <jwboyer@gmail.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b0786b43
...@@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct platform_device *ofdev, ...@@ -2871,7 +2871,6 @@ static int __devinit emac_probe(struct platform_device *ofdev,
SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops); SET_ETHTOOL_OPS(ndev, &emac_ethtool_ops);
netif_carrier_off(ndev); netif_carrier_off(ndev);
netif_stop_queue(ndev);
err = register_netdev(ndev); err = register_netdev(ndev);
if (err) { if (err) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment