mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
sysctl ipc: Remove dead binary sysctl support code.
Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name and .strategy members of sysctl tables are dead code. Remove them. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
parent
a153cf9dd0
commit
2bc4657c15
2 changed files with 3 additions and 81 deletions
|
@ -88,7 +88,7 @@ static ctl_table mq_sysctls[] = {
|
|||
.extra1 = &msg_maxsize_limit_min,
|
||||
.extra2 = &msg_maxsize_limit_max,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{}
|
||||
};
|
||||
|
||||
static ctl_table mq_sysctl_dir[] = {
|
||||
|
@ -97,17 +97,16 @@ static ctl_table mq_sysctl_dir[] = {
|
|||
.mode = 0555,
|
||||
.child = mq_sysctls,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{}
|
||||
};
|
||||
|
||||
static ctl_table mq_sysctl_root[] = {
|
||||
{
|
||||
.ctl_name = CTL_FS,
|
||||
.procname = "fs",
|
||||
.mode = 0555,
|
||||
.child = mq_sysctl_dir,
|
||||
},
|
||||
{ .ctl_name = 0 }
|
||||
{}
|
||||
};
|
||||
|
||||
struct ctl_table_header *mq_register_sysctl_table(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue