sunrpc: simplify one-level sysctl registration for xs_tunables_table
authorLuis Chamberlain <mcgrof@kernel.org>
Sat, 11 Mar 2023 23:39:42 +0000 (15:39 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 16:45:19 +0000 (12:45 -0400)
commitc946cb69f238b2bd3e42790b8450f76b62b491f4
treef76b9a11b92ee4668d9b11070bb941505769062c
parent17c6d0ce83406aebc98f8ce16c66f5416106963d
sunrpc: simplify one-level sysctl registration for xs_tunables_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/xprtsock.c