OSDN Git Service

s390: simplify one-level syctl registration for s390dbf_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 23:45:21 +0000 (15:45 -0800)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Mar 2023 09:56:48 +0000 (10:56 +0100)
commit751e24071c2e408f4b1781327756700ee4c941ab
tree9e53a73089cb833016f686df16be070ca3dc83cb
parent0599331c3da6dbbe814262079f6b0c4f3575fd5d
s390: simplify one-level syctl registration for s390dbf_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-3-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/kernel/debug.c