summaryrefslogtreecommitdiff
path: root/drivers/net/82596.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/82596.c')
-rw-r--r--drivers/net/82596.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/82596.c b/drivers/net/82596.c
index 89e43d7cb9f5..e2c9c5b949f9 100644
--- a/drivers/net/82596.c
+++ b/drivers/net/82596.c
@@ -1040,8 +1040,8 @@ err_queue:
err_irq_56:
#ifdef ENABLE_MVME16x_NET
free_irq(0x56, dev);
-#endif
err_irq_dev:
+#endif
free_irq(dev->irq, dev);
return res;