diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2010-07-19 18:27:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-19 18:27:13 -0400 |
commit | 653954825dce4015d6418ddb4de7826205f44c87 (patch) | |
tree | b15d929b41ec553a21c99b46dce435c14b1d9cc0 /drivers | |
parent | e2df8b7f6665075f7fe93613897117743c7bf0ba (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/82596.c | 2 |
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: | |||
1040 | err_irq_56: | 1040 | err_irq_56: |
1041 | #ifdef ENABLE_MVME16x_NET | 1041 | #ifdef ENABLE_MVME16x_NET |
1042 | free_irq(0x56, dev); | 1042 | free_irq(0x56, dev); |
1043 | #endif | ||
1044 | err_irq_dev: | 1043 | err_irq_dev: |
1044 | #endif | ||
1045 | free_irq(dev->irq, dev); | 1045 | free_irq(dev->irq, dev); |
1046 | 1046 | ||
1047 | return res; | 1047 | return res; |