Commit bfd6334f authored by Linus Torvalds's avatar Linus Torvalds

Fix smctr.c warning for unused label.

parent 0ff95582
...@@ -1151,14 +1151,14 @@ static int __init smctr_chk_isa(struct net_device *dev) ...@@ -1151,14 +1151,14 @@ static int __init smctr_chk_isa(struct net_device *dev)
if(smctr_read_584_chksum(ioaddr)) if(smctr_read_584_chksum(ioaddr))
{ {
printk(KERN_ERR "%s: EEPROM Checksum Failure\n", dev->name); printk(KERN_ERR "%s: EEPROM Checksum Failure\n", dev->name);
goto out3; free_irq(dev->irq, dev);
goto out2;
} }
*/ */
} }
return (0); return (0);
out3:
free_irq(dev->irq, dev);
out2: out2:
release_region(ioaddr, SMCTR_IO_EXTENT); release_region(ioaddr, SMCTR_IO_EXTENT);
out: out:
......
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