bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: sysctl: remove unused variable long_max
@ 2022-09-05 12:50 Liu Shixin
  2022-09-07 15:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Shixin @ 2022-09-05 12:50 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel, bpf, Liu Shixin, Kefeng Wang

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>
---
 net/core/sysctl_net_core.c | 1 -
 1 file changed, 1 deletion(-)

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 */
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: sysctl: remove unused variable long_max
  2022-09-05 12:50 [PATCH] net: sysctl: remove unused variable long_max Liu Shixin
@ 2022-09-07 15:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-07 15:00 UTC (permalink / raw)
  To: Liu Shixin
  Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel, bpf,
	wangkefeng.wang

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 5 Sep 2022 20:50:42 +0800 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - net: sysctl: remove unused variable long_max
    https://git.kernel.org/netdev/net-next/c/53fc01a0a8cb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-07 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 12:50 [PATCH] net: sysctl: remove unused variable long_max Liu Shixin
2022-09-07 15:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).