kernel/sysctl.c: remove unused variable ten_thousand
authorColin Ian King <colin.i.king@gmail.com>
Thu, 30 Dec 2021 09:29:45 +0000 (20:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Jan 2022 01:50:15 +0000 (12:50 +1100)
commitb20bbe8c35f304e2b97ac28096594d19067daa93
tree35c12bacf60c89248574cba521f2d92161c42705
parente4f4388a702655998017ec98126b90a589d0f55d
kernel/sysctl.c: remove unused variable ten_thousand

The const variable ten_thousand is not used, it is redundant and can be
removed.

Cleans up clang warning:
kernel/sysctl.c:99:18: warning: unused variable 'ten_thousand' [-Wunused-const-variable]
static const int ten_thousand = 10000;

Link: https://lkml.kernel.org/r/20211221184501.574670-1-colin.i.king@gmail.com
Fixes: c26da54dc8ca ("printk: move printk sysctl to printk/sysctl.c")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
kernel/sysctl.c