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

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-5-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/cmm.c