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

David Miller davem at davemloft.net
Thu Feb 12 16:45:11 UTC 2015


From: Geert Uytterhoeven <geert at 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 at linux-m68k.org>

Applied, thanks.


More information about the Bridge mailing list