|
@@ -748,13 +748,13 @@ static int ax_init_dev(struct net_device *dev)
|
|
|
|
|
|
ret = ax_mii_init(dev);
|
|
|
if (ret)
|
|
|
- goto out_irq;
|
|
|
+ goto err_out;
|
|
|
|
|
|
ax_NS8390_init(dev, 0);
|
|
|
|
|
|
ret = register_netdev(dev);
|
|
|
if (ret)
|
|
|
- goto out_irq;
|
|
|
+ goto err_out;
|
|
|
|
|
|
netdev_info(dev, "%dbit, irq %d, %lx, MAC: %pM\n",
|
|
|
ei_local->word16 ? 16 : 8, dev->irq, dev->base_addr,
|
|
@@ -762,9 +762,6 @@ static int ax_init_dev(struct net_device *dev)
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
- out_irq:
|
|
|
- /* cleanup irq */
|
|
|
- free_irq(dev->irq, dev);
|
|
|
err_out:
|
|
|
return ret;
|
|
|
}
|