diff options
-rw-r--r-- | crypto/proc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/crypto/proc.c b/crypto/proc.c index 5dc07e442fca..fe95975fc533 100644 --- a/crypto/proc.c +++ b/crypto/proc.c | |||
@@ -25,28 +25,22 @@ | |||
25 | #ifdef CONFIG_CRYPTO_FIPS | 25 | #ifdef CONFIG_CRYPTO_FIPS |
26 | static struct ctl_table crypto_sysctl_table[] = { | 26 | static struct ctl_table crypto_sysctl_table[] = { |
27 | { | 27 | { |
28 | .ctl_name = CTL_UNNUMBERED, | ||
29 | .procname = "fips_enabled", | 28 | .procname = "fips_enabled", |
30 | .data = &fips_enabled, | 29 | .data = &fips_enabled, |
31 | .maxlen = sizeof(int), | 30 | .maxlen = sizeof(int), |
32 | .mode = 0444, | 31 | .mode = 0444, |
33 | .proc_handler = &proc_dointvec | 32 | .proc_handler = &proc_dointvec |
34 | }, | 33 | }, |
35 | { | 34 | {} |
36 | .ctl_name = 0, | ||
37 | }, | ||
38 | }; | 35 | }; |
39 | 36 | ||
40 | static struct ctl_table crypto_dir_table[] = { | 37 | static struct ctl_table crypto_dir_table[] = { |
41 | { | 38 | { |
42 | .ctl_name = CTL_UNNUMBERED, | ||
43 | .procname = "crypto", | 39 | .procname = "crypto", |
44 | .mode = 0555, | 40 | .mode = 0555, |
45 | .child = crypto_sysctl_table | 41 | .child = crypto_sysctl_table |
46 | }, | 42 | }, |
47 | { | 43 | {} |
48 | .ctl_name = 0, | ||
49 | }, | ||
50 | }; | 44 | }; |
51 | 45 | ||
52 | static struct ctl_table_header *crypto_sysctls; | 46 | static struct ctl_table_header *crypto_sysctls; |