diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-05 18:38:40 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 05:04:55 -0500 |
commit | 56992309ccbe71f4321ddd50ee2f76f91b412c1a (patch) | |
tree | d2ffd767aa21cae9364769a25c6b181ccb8b3fb3 /kernel/sched.c | |
parent | ab09203e302b6e526f6930f3e460064b0f253ae9 (diff) |
sysctl kernel: Remove binary sysctl logic
Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name
and .strategy members of sysctl tables are dead code. Remove them.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index a455dca884a6..dbb99d787a41 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -7373,17 +7373,16 @@ static struct ctl_table sd_ctl_dir[] = { | |||
7373 | .procname = "sched_domain", | 7373 | .procname = "sched_domain", |
7374 | .mode = 0555, | 7374 | .mode = 0555, |
7375 | }, | 7375 | }, |
7376 | {0, }, | 7376 | {} |
7377 | }; | 7377 | }; |
7378 | 7378 | ||
7379 | static struct ctl_table sd_ctl_root[] = { | 7379 | static struct ctl_table sd_ctl_root[] = { |
7380 | { | 7380 | { |
7381 | .ctl_name = CTL_KERN, | ||
7382 | .procname = "kernel", | 7381 | .procname = "kernel", |
7383 | .mode = 0555, | 7382 | .mode = 0555, |
7384 | .child = sd_ctl_dir, | 7383 | .child = sd_ctl_dir, |
7385 | }, | 7384 | }, |
7386 | {0, }, | 7385 | {} |
7387 | }; | 7386 | }; |
7388 | 7387 | ||
7389 | static struct ctl_table *sd_alloc_ctl_entry(int n) | 7388 | static struct ctl_table *sd_alloc_ctl_entry(int n) |