|
On Mon, Nov 30, 2015 at 10:48:34PM +0200, Julian Anastasov wrote:
>
> Hello,
>
> On Mon, 30 Nov 2015, Arnd Bergmann wrote:
>
> > When CONFIG_PROC_FS is disabled, the local 'net' variable in
> > ip_vs_app_net_init becomes unused, as gcc warns:
> >
> > net/netfilter/ipvs/ip_vs_app.c: In function 'ip_vs_app_net_init':
> > net/netfilter/ipvs/ip_vs_app.c:608:14: warning: unused variable 'net'
> > [-Wunused-variable]
> >
> > This removes the line by moving the pointer dereference into the
> > user of the variable.
> >
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Acked-by: Julian Anastasov <ja@xxxxxx>
Thanks, applied to ipvs-next.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|