aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wd.c')
-rw-r--r--drivers/net/wd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wd.c b/drivers/net/wd.c
index 746a5ee32f33..eb72c67699ab 100644
--- a/drivers/net/wd.c
+++ b/drivers/net/wd.c
@@ -358,8 +358,10 @@ static int __init wd_probe1(struct net_device *dev, int ioaddr)
358#endif 358#endif
359 359
360 err = register_netdev(dev); 360 err = register_netdev(dev);
361 if (err) 361 if (err) {
362 free_irq(dev->irq, dev); 362 free_irq(dev->irq, dev);
363 iounmap(ei_status.mem);
364 }
363 return err; 365 return err;
364} 366}
365 367