sysctl drivers: Remove dead binary sysctl support

Now that sys_sysctl is a wrapper around /proc/sys all of
the binary sysctl support elsewhere in the tree is
dead code.

Cc: Jens Axboe <[email protected]>
Cc: Corey Minyard <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Matt Mackall <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Neil Brown <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Acked-by: Clemens Ladisch <[email protected]> for drivers/char/hpet.c
Signed-off-by: Eric W. Biederman <[email protected]>
This commit is contained in:
Eric W. Biederman 2009-11-05 14:34:02 -08:00
commit 894d249115
10 changed files with 27 additions and 101 deletions

View file

@ -3594,30 +3594,28 @@ static ctl_table cdrom_table[] = {
.mode = 0644,
.proc_handler = &cdrom_sysctl_handler
},
{ .ctl_name = 0 }
{ }
};
static ctl_table cdrom_cdrom_table[] = {
{
.ctl_name = DEV_CDROM,
.procname = "cdrom",
.maxlen = 0,
.mode = 0555,
.child = cdrom_table,
},
{ .ctl_name = 0 }
{ }
};
/* Make sure that /proc/sys/dev is there */
static ctl_table cdrom_root_table[] = {
{
.ctl_name = CTL_DEV,
.procname = "dev",
.maxlen = 0,
.mode = 0555,
.child = cdrom_cdrom_table,
},
{ .ctl_name = 0 }
{ }
};
static struct ctl_table_header *cdrom_sysctl_header;