diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-08-19 13:00:26 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-08-24 10:43:37 -0700 |
commit | f0387a70c1323f223343d73856ef36414c86d670 (patch) | |
tree | 8952102ec6ffd9a84e16fbcd594ab369b9533613 | |
parent | b2776bf7149bddd1f4161f14f79520f17fc1d71d (diff) |
net: sysctl_net_core: Fix warning: 'one' defined but not used
Commit c48cf4f27d45 ("net: sysctl_net_core: check SNDBUF and RCVBUF for
min length") removed the last user of the variable 'one' leading to:
net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
Fix this by deleting the variable.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
-rw-r--r-- | net/core/sysctl_net_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index cf9cd13509a7..78c5a13baf20 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; #ifdef CONFIG_RPS |