projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcf776
)
net: ipv6: ndisc: Fix warning when CONFIG_SYSCTL=n
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sat, 16 Nov 2013 02:52:08 +0000
(
00:52
-0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 18 Nov 2013 19:49:16 +0000
(14:49 -0500)
When CONFIG_SYSCTL=n the following build warning happens:
net/ipv6/ndisc.c:1730:1: warning: label 'out' defined but not used [-Wunused-label]
The 'out' label is only used when CONFIG_SYSCTL=y, so move it inside the
'ifdef CONFIG_SYSCTL' block.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/ndisc.c
b/net/ipv6/ndisc.c
index f8a55ff1971b36db95ae7c22dd8c65062fbdcb61..3512177deb4d0e7d12c6d145781802074f490615 100644
(file)
--- a/
net/ipv6/ndisc.c
+++ b/
net/ipv6/ndisc.c
@@
-1726,8
+1726,8
@@
int __init ndisc_init(void)
&ndisc_ifinfo_sysctl_change);
if (err)
goto out_unregister_pernet;
-#endif
out:
+#endif
return err;
#ifdef CONFIG_SYSCTL