lkml.org 
[lkml]   [2015]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] bridge: netfilter: Move sysctl-specific error code inside #ifdef
From
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.
\
 
 \ /
  Last update: 2015-02-12 18:01    [W:0.027 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site