aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2022-09-05 20:50:42 +0800
committerDavid S. Miller <davem@davemloft.net>2022-09-07 15:31:19 +0100
commit53fc01a0a8cbf0b9945355a2e632ca00570a4465 (patch)
treeced748b2282aa6590aa526b2e675a8ab8e82f828 /net/core
parentnet: ethernet: mtk_eth_soc: remove mtk_foe_entry_timestamp (diff)
downloadlinux-dev-53fc01a0a8cbf0b9945355a2e632ca00570a4465.tar.xz
linux-dev-53fc01a0a8cbf0b9945355a2e632ca00570a4465.zip
net: sysctl: remove unused variable long_max
The variable long_max is replaced by bpf_jit_limit_max and no longer be used. So remove it. No functional change. Signed-off-by: Liu Shixin <liushixin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-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 725891527814..5b1ce656baa1 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -29,7 +29,6 @@ static int int_3600 = 3600;
static int min_sndbuf = SOCK_MIN_SNDBUF;
static int min_rcvbuf = SOCK_MIN_RCVBUF;
static int max_skb_frags = MAX_SKB_FRAGS;
-static long long_max __maybe_unused = LONG_MAX;
static int net_msg_warn; /* Unused, but still a sysctl */