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 <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Andrew Morton 2010-07-19 15:27:13 -07:00 committed by David S. Miller
parent e2df8b7f66
commit 653954825d

View File

@ -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;