since e2f572a9be3f00bcf470a918d9e53353bea9ef4c, the variable 'one' is no longer used net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable] static int one = 1; remove it to fix the compiler warning Signed-off-by: Martin Kaiser <martin@xxxxxxxxx> --- net/core/sysctl_net_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 0a327b6..e6c0841 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -21,7 +21,6 @@ #include <net/net_ratelimit.h> static int zero = 0; -static int one = 1; static int ushort_max = USHRT_MAX; static int min_sndbuf = SOCK_MIN_SNDBUF; static int min_rcvbuf = SOCK_MIN_RCVBUF; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html