kernel/sysctl-test: use SYSCTL_{ZERO/ONE_HUNDRED} instead of i_{zero/one_hundred}
authorLiu Shixin <liushixin2@huawei.com>
Thu, 8 Sep 2022 08:29:47 +0000 (16:29 +0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 8 Sep 2022 23:56:45 +0000 (16:56 -0700)
commitc06a17fe056b84f5784b2f13753870eb65edc9ed
tree46abe459d5d9b6025d5b812269fc159b2a0e76fa
parentb13bc7cbb931727b1b0a63594cd734bfd979e985
kernel/sysctl-test: use SYSCTL_{ZERO/ONE_HUNDRED} instead of i_{zero/one_hundred}

It is better to use SYSCTL_ZERO and SYSCTL_ONE_HUNDRED instead of &i_zero
and &i_one_hundred, and then we can remove these two local variable.

No functional change.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/sysctl-test.c