diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2009-04-03 08:33:18 -0400 |
|---|---|---|
| committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 05:05:04 -0500 |
| commit | 24a065624dcdd91e8bfd0f14113feb91c7ed11ca (patch) | |
| tree | cf4492df2caa95fa4d6a6730db2cdfe564ede55e | |
| parent | a09b6e811800cba79e8104deff12c544b835a3ff (diff) | |
sysctl x86: Remove dead binary sysctl support
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: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
| -rw-r--r-- | arch/x86/kernel/vsyscall_64.c | 2 | ||||
| -rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c index 8cb4974ff599..e02d92d12bcd 100644 --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c | |||
| @@ -237,7 +237,7 @@ static ctl_table kernel_table2[] = { | |||
| 237 | }; | 237 | }; |
| 238 | 238 | ||
| 239 | static ctl_table kernel_root_table2[] = { | 239 | static ctl_table kernel_root_table2[] = { |
| 240 | { .ctl_name = CTL_KERN, .procname = "kernel", .mode = 0555, | 240 | { .procname = "kernel", .mode = 0555, |
| 241 | .child = kernel_table2 }, | 241 | .child = kernel_table2 }, |
| 242 | {} | 242 | {} |
| 243 | }; | 243 | }; |
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 58bc00f68b12..02b442e92007 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c | |||
| @@ -393,7 +393,6 @@ static ctl_table abi_table2[] = { | |||
| 393 | 393 | ||
| 394 | static ctl_table abi_root_table2[] = { | 394 | static ctl_table abi_root_table2[] = { |
| 395 | { | 395 | { |
| 396 | .ctl_name = CTL_ABI, | ||
| 397 | .procname = "abi", | 396 | .procname = "abi", |
| 398 | .mode = 0555, | 397 | .mode = 0555, |
| 399 | .child = abi_table2 | 398 | .child = abi_table2 |
