diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 11:51:10 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 11:04:54 +0100 |
commit | 2bc4657c15e4a33d9a192579c7627a397dbcbebc (patch) | |
tree | c226e2e567fa7c13b68aa3de16fb83f731d22aa5 /ipc/mq_sysctl.c | |
parent | sysctl: Stop using binary sysctl numbers in arlan. (diff) | |
download | linux-2bc4657c15e4a33d9a192579c7627a397dbcbebc.tar.xz linux-2bc4657c15e4a33d9a192579c7627a397dbcbebc.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | ipc/mq_sysctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ipc/mq_sysctl.c b/ipc/mq_sysctl.c index 8a058711fc10..0c09366b96f3 100644 --- a/ipc/mq_sysctl.c +++ b/ipc/mq_sysctl.c @@ -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) |