aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-09-10 22:17:40 +0530
committerAmit Pundir <amit.pundir@linaro.org>2015-09-10 22:18:09 +0530
commitceec4d230630127c478f33ae4c81ad7992a5de78 (patch)
treeea5ed35b6a71742d03e7f8c1423557dee8592edb
parentd31309262eaa746270ddd68b19e62fea47bb2325 (diff)
net: sysctl_net_core: delete unused variable
Variable "one" is not used anymore it seem and I run into: net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable] static int one = 1; Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--net/core/sysctl_net_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index e731c96eac4b..8725b91120f8 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -23,7 +23,6 @@
#include <net/pkt_sched.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;