mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
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>
This commit is contained in:
parent
b0786b430c
commit
811718f071
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user