From: Andrew Morton Date: Mon, 19 Jul 2010 22:27:13 +0000 (-0700) Subject: drivers/net/82596.c: fix warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=653954825dce4015d6418ddb4de7826205f44c87;p=openwrt%2Fstaging%2Fblogic.git 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: Andrew Morton Signed-off-by: David S. Miller --- 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;