Re: [PATCH net-next] net: Fix unused variable compile warning

2015-10-01 Thread David Ahern
On 10/1/15 9:45 AM, David Ahern wrote: diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index facba7ed27de..858165f05040 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -1564,4 +1564,4 @@ void fib_select_path(struct net *net, struct fib_result *res,

[PATCH net-next] net: Fix unused variable compile warning

2015-10-01 Thread David Ahern
Eric's net namespace changes in 1b75097dd7a26 leaves net unreferenced if CONFIG_IP_VS_IPV6 is not enabled: ../net/netfilter/ipvs/ip_vs_core.c: In function ‘ip_vs_out’: ../net/netfilter/ipvs/ip_vs_core.c:1177:14: warning: unused variable ‘net’ [-Wunused-variable] After the net refactoring there i