utsname: simplify one-level sysctl registration for uts_kern_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 09:24:10 +0000 (01:24 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 13 Apr 2023 18:49:35 +0000 (11:49 -0700)
commit3d51cd8ea3c832c50c22e46354ac89e0964ea2d8
tree54d945266bfc4700cd2701a5c22999644a4a2160
parent02148ff371b276d664780de6d1f52d52074c3e25
utsname: simplify one-level sysctl registration for uts_kern_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.

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/utsname_sysctl.c