diff options
author | Mike Ditto <mditto@consentry.com> | 2009-01-14 20:43:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-14 20:43:43 -0800 |
commit | d7e094d4212bc72f5575e54edfef1349e0c4cdb5 (patch) | |
tree | 90457cb771a72975ab18fce83858ccdd22a3358b | |
parent | 4e704ee3c2cd38748ca59d835435d6a7e7f6f613 (diff) |
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: Mike Ditto <mditto@consentry.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/fs_enet/fs_enet-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c index 4e6a9195fe5f..ce900e54d8d1 100644 --- a/drivers/net/fs_enet/fs_enet-main.c +++ b/drivers/net/fs_enet/fs_enet-main.c @@ -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; |