diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 08:29:19 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 05:04:57 -0500 |
commit | c2a86a67fadd9dddc58f55ce6323c04dde59ebed (patch) | |
tree | 6dfc22a69acf8219044f78714dcbfef922dd53ce /crypto | |
parent | 5cdb35557d022f8dc51b532b5cd1a8e9ed7bcdb7 (diff) |
sysctl crypto: Remove dead binary sysctl support
Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name
and .strategy members of sysctl tables are dead code. Remove them.
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'crypto')
-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 5dc07e442fc..fe95975fc53 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; |