Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0387a70 authored by Jon Medhurst's avatar Jon Medhurst Committed by Kevin Hilman
Browse files

net: sysctl_net_core: Fix warning: 'one' defined but not used



Commit c48cf4f2 ("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: default avatarJon Medhurst <tixy@linaro.org>
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent b2776bf7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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