Commit 65395482 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

drivers/net/82596.c: fix warning

drivers/net/82596.c: In function 'i596_open':
drivers/net/82596.c:1044: warning: label 'err_irq_dev' defined but not used

Caused by "82596: free resources on error"
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e2df8b7f
...@@ -1040,8 +1040,8 @@ static int i596_open(struct net_device *dev) ...@@ -1040,8 +1040,8 @@ static int i596_open(struct net_device *dev)
err_irq_56: err_irq_56:
#ifdef ENABLE_MVME16x_NET #ifdef ENABLE_MVME16x_NET
free_irq(0x56, dev); free_irq(0x56, dev);
#endif
err_irq_dev: err_irq_dev:
#endif
free_irq(dev->irq, dev); free_irq(dev->irq, dev);
return res; return res;
......
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