]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01afe146955989a47b69c8307cc0dd2e50e31ef4
tree3aa221dee916f58de16e674adf1e0b1bb5a4c764
parent9c0c415eb085048567d0981b69027211b66cac2b
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