Commit d7e094d4 authored by Mike Ditto's avatar Mike Ditto Committed by David S. Miller

powerpc/fs_enet: Add missing irq free in error path.

If something goes wrong attaching to phy driver, we weren't freeing
the IRQ.
Signed-off-by: default avatarMike Ditto <mditto@consentry.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4e704ee3
......@@ -795,6 +795,7 @@ static int fs_enet_open(struct net_device *dev)
err = fs_init_phy(dev);
if (err) {
free_irq(fep->interrupt, dev);
if (fep->fpi->use_napi)
napi_disable(&fep->napi);
return err;
......
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