crypto: fips - simplify one-level sysctl registration for crypto_sysctl_table
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 10 Mar 2023 23:21:50 +0000 (15:21 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Mar 2023 03:16:44 +0000 (11:16 +0800)
commit68629182cd54ad5cf8e501a95e2906c8eea0731c
tree9f70eb70de6d68007086d8b3538e3f1d5f5b8f7c
parent75f3d950054389e2556277e42170e37dd97cd872
crypto: fips - simplify one-level sysctl registration for crypto_sysctl_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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/fips.c