Commit bc20be4b authored by David S. Miller's avatar David S. Miller Committed by Stephen Hemminger

[NET]: Delete bogus unregister_netdev() call in sunbmac.

parent be89883e
...@@ -1243,8 +1243,6 @@ static int __init bigmac_ether_init(struct sbus_dev *qec_sdev) ...@@ -1243,8 +1243,6 @@ static int __init bigmac_ether_init(struct sbus_dev *qec_sdev)
bp->bmac_block, bp->bmac_block,
bp->bblock_dvma); bp->bblock_dvma);
unregister_netdev(dev);
/* This also frees the co-located 'dev->priv' */ /* This also frees the co-located 'dev->priv' */
free_netdev(dev); free_netdev(dev);
return -ENODEV; return -ENODEV;
......
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