Merge tag 'riscv-for-linus-6.4-mw1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / crypto / fips.c
index b05d3c7b3ca53bc7100d5bb0bf67d20a3331883a..92fd506abb21ce354b2b771bb66fc295e5231d53 100644 (file)
@@ -66,20 +66,11 @@ static struct ctl_table crypto_sysctl_table[] = {
        {}
 };
 
-static struct ctl_table crypto_dir_table[] = {
-       {
-               .procname       = "crypto",
-               .mode           = 0555,
-               .child          = crypto_sysctl_table
-       },
-       {}
-};
-
 static struct ctl_table_header *crypto_sysctls;
 
 static void crypto_proc_fips_init(void)
 {
-       crypto_sysctls = register_sysctl_table(crypto_dir_table);
+       crypto_sysctls = register_sysctl("crypto", crypto_sysctl_table);
 }
 
 static void crypto_proc_fips_exit(void)