sunrpc: simplify one-level sysctl registration for xr_tunables_table
authorLuis Chamberlain <mcgrof@kernel.org>
Sat, 11 Mar 2023 23:39:41 +0000 (15:39 -0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 11 Apr 2023 16:44:49 +0000 (12:44 -0400)
commit17c6d0ce83406aebc98f8ce16c66f5416106963d
tree820aa2e20601db9e814b5c9a778e7811ee00a96c
parent39724217447fc3b3ca76ff6fd5086e26165ba6d8
sunrpc: simplify one-level sysctl registration for xr_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/xprtrdma/transport.c