net: sysctl: remove unused variable long_max
authorLiu Shixin <liushixin2@huawei.com>
Mon, 5 Sep 2022 12:50:42 +0000 (20:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2022 14:31:19 +0000 (15:31 +0100)
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>
net/core/sysctl_net_core.c

index 7258915..5b1ce65 100644 (file)
@@ -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 */