projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2df8b7
)
drivers/net/82596.c: fix warning
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 19 Jul 2010 22:27:13 +0000
(15:27 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 Jul 2010 22:27:13 +0000
(15:27 -0700)
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>
drivers/net/82596.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/82596.c
b/drivers/net/82596.c
index 89e43d7cb9f587c856076f3c2b2f3aafaa9452ec..e2c9c5b949f97f5f67ef481fd32021969889e6f9 100644
(file)
--- 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;