sunrpc: simplify one-level sysctl registration for debug_table
authorLuis Chamberlain <mcgrof@kernel.org>
Sat, 11 Mar 2023 23:39:44 +0000 (15:39 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 16:45:19 +0000 (12:45 -0400)
commit703c6d03f165183b97526c182aa1d701b40f0453
tree4aa80873c2f0424499a354465020dd82d9b8216e
parent32e356be32b6676d2d641ed4a4fe088c6d211d92
sunrpc: simplify one-level sysctl registration for debug_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>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/sysctl.c