bridge: netfilter: Move sysctl-specific error code inside #ifdef
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 12 Feb 2015 14:17:27 +0000 (15:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Feb 2015 16:44:46 +0000 (08:44 -0800)
commit9672723973f1e70189b8409eb2da189a980481c5
treefde99eb71fd6db08da4361bbff3ca67b2fe00f73
parent4762fb980465463734f02c67c67f40beb8903f73
bridge: netfilter: Move sysctl-specific error code inside #ifdef

If CONFIG_SYSCTL=n:

    net/bridge/br_netfilter.c: In function ‘br_netfilter_init’:
    net/bridge/br_netfilter.c:996: warning: label ‘err1’ defined but not used

Move the label and the code after it inside the existing #ifdef to get
rid of the warning.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netfilter.c