s390: simplify one-level sysctl registration for page_table_sysctl
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 23:45:24 +0000 (15:45 -0800)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 09:56:49 +0000 (10:56 +0100)
commit7ddc873dcb1d05eaafceeb4a2afd53bbb31addb8
tree8de80c93a21036025a7ea85608670fb5c237634b
parent414b2a960e4373765987bdaeaafbccde6b6eb27b
s390: simplify one-level sysctl registration for page_table_sysctl

There is no need to declare an extra tables to just create directory,
this can be easily be done with a prefix path with register_sysctl().

Simplify this registration.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20230310234525.3986352-6-mcgrof@kernel.org
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/pgalloc.c