Commit 06545585 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] eepro.c has spurious kfree

From:  Marcus Alanen <maalanen@ra.abo.fi>

  The freeall label already does the kfree(dev->priv)
parent c45e9c34
......@@ -820,7 +820,6 @@ static int __init eepro_probe1(struct net_device *dev, short ioaddr)
}
if (dev->irq < 2) {
printk(KERN_ERR " Duh! illegal interrupt vector stored in EEPROM.\n");
kfree(dev->priv);
retval = -ENODEV;
goto freeall;
} else
......
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