OSDN Git Service

net: sysctl: Use SYSCTL_TWO instead of &two
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 10 May 2022 03:35:02 +0000 (11:35 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 10 May 2022 17:13:06 +0000 (10:13 -0700)
commitf922c8972fb53ad9221501e2e432f06246c74cc8
tree3aa221dee916f58de16e674adf1e0b1bb5a4c764
parent43bf087848ab796fab93c9b4de59a7ed70aab94a
net: sysctl: Use SYSCTL_TWO instead of &two

It is better to use SYSCTL_TWO instead of &two, and then we can
remove the variable "two" in net/core/sysctl_net_core.c.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/1652153703-22729-2-git-send-email-yangtiezhu@loongson.cn
net/core/sysctl_net_core.c