mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
c2a86a67fa
commit
894d249115
10 changed files with 27 additions and 101 deletions
|
|
@ -98,7 +98,6 @@ static struct ctl_table_header *raid_table_header;
|
|||
|
||||
static ctl_table raid_table[] = {
|
||||
{
|
||||
.ctl_name = DEV_RAID_SPEED_LIMIT_MIN,
|
||||
.procname = "speed_limit_min",
|
||||
.data = &sysctl_speed_limit_min,
|
||||
.maxlen = sizeof(int),
|
||||
|
|
@ -106,36 +105,33 @@ static ctl_table raid_table[] = {
|
|||
.proc_handler = &proc_dointvec,
|
||||
},
|
||||
{
|
||||
.ctl_name = DEV_RAID_SPEED_LIMIT_MAX,
|
||||
.procname = "speed_limit_max",
|
||||
.data = &sysctl_speed_limit_max,
|
||||
.maxlen = sizeof(int),
|
||||
.mode = S_IRUGO|S_IWUSR,
|
||||
.proc_handler = &proc_dointvec,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static ctl_table raid_dir_table[] = {
|
||||
{
|
||||
.ctl_name = DEV_RAID,
|
||||
.procname = "raid",
|
||||
.maxlen = 0,
|
||||
.mode = S_IRUGO|S_IXUGO,
|
||||
.child = raid_table,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static ctl_table raid_root_table[] = {
|
||||
{
|
||||
.ctl_name = CTL_DEV,
|
||||
.procname = "dev",
|
||||
.maxlen = 0,
|
||||
.mode = 0555,
|
||||
.child = raid_dir_table,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{ }
|
||||
};
|
||||
|
||||
static const struct block_device_operations md_fops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue