Skip to content

Commit

Permalink
ibm_newemac: Remove netif_stop_queue() in emac_probe().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Nov 1, 2010
1 parent b0786b4 commit 811718f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ibm_newemac/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 811718f

Please sign in to comment.