]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: ipv6: ndisc: Fix warning when CONFIG_SYSCTL=n
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 16 Nov 2013 02:52:08 +0000 (00:52 -0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Nov 2013 19:49:16 +0000 (14:49 -0500)
commitbcd081a3aef1f7f3786067ae8dd26aaa1cf85153
treeb937ff0b1ac186cf67cc8a6520e3054c709ee0b4
parentfdcf77659c103388a67f40f2f8db239b57c1ce4e
net: ipv6: ndisc: Fix warning when CONFIG_SYSCTL=n

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