diff --git a/drivers/net/82596.c b/drivers/net/82596.c index 89e43d7cb9f587c856076f3c2b2f3aafaa9452ec..e2c9c5b949f97f5f67ef481fd32021969889e6f9 100644 --- a/drivers/net/82596.c +++ b/drivers/net/82596.c @@ -1040,8 +1040,8 @@ static int i596_open(struct net_device *dev) err_irq_56: #ifdef ENABLE_MVME16x_NET free_irq(0x56, dev); -#endif err_irq_dev: +#endif free_irq(dev->irq, dev); return res;