Skip to content

Commit

Permalink
sysctl crypto: Remove dead binary sysctl support
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
  • Loading branch information
ebiederm committed Nov 12, 2009
1 parent 5cdb355 commit c2a86a6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crypto/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,22 @@
#ifdef CONFIG_CRYPTO_FIPS
static struct ctl_table crypto_sysctl_table[] = {
{
.ctl_name = CTL_UNNUMBERED,
.procname = "fips_enabled",
.data = &fips_enabled,
.maxlen = sizeof(int),
.mode = 0444,
.proc_handler = &proc_dointvec
},
{
.ctl_name = 0,
},
{}
};

static struct ctl_table crypto_dir_table[] = {
{
.ctl_name = CTL_UNNUMBERED,
.procname = "crypto",
.mode = 0555,
.child = crypto_sysctl_table
},
{
.ctl_name = 0,
},
{}
};

static struct ctl_table_header *crypto_sysctls;
Expand Down

0 comments on commit c2a86a6

Please sign in to comment.