summaryrefslogtreecommitdiffstats
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-04-03 02:51:10 -0700
committerEric W. Biederman <ebiederm@xmission.com>2009-11-12 02:04:54 -0800
commit2bc4657c15e4a33d9a192579c7627a397dbcbebc (patch)
treec226e2e567fa7c13b68aa3de16fb83f731d22aa5 /ipc/mq_sysctl.c
parenta153cf9dd038244b7fd9adad3152b85deec5c4af (diff)
downloadop-kernel-dev-2bc4657c15e4a33d9a192579c7627a397dbcbebc.zip
op-kernel-dev-2bc4657c15e4a33d9a192579c7627a397dbcbebc.tar.gz
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 'ipc/mq_sysctl.c')
-rw-r--r--ipc/mq_sysctl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ipc/mq_sysctl.c b/ipc/mq_sysctl.c
index 8a05871..0c09366 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)
OpenPOWER on IntegriCloud