Thread (2 messages) 2 messages, 2 authors, 2015-02-12

Re: [PATCH] bridge: netfilter: Move sysctl-specific error code inside #ifdef

flat view

From: David Miller <davem@davemloft.net>
Date: 2015-02-12 16:38:10
Also in: bridge, lkml

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 12 Feb 2015 15:17:27 +0100
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>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help