sysctl x86: Remove dead binary sysctl support
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 3 Apr 2009 12:33:18 +0000 (05:33 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 12 Nov 2009 10:05:04 +0000 (02:05 -0800)
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>
arch/x86/kernel/vsyscall_64.c
arch/x86/vdso/vdso32-setup.c

index 8cb4974ff5990c19267077d473caeeb504fe5bae..e02d92d12bcd326f907f6751d3cb4024243913f6 100644 (file)
@@ -237,7 +237,7 @@ static ctl_table kernel_table2[] = {
 };
 
 static ctl_table kernel_root_table2[] = {
-       { .ctl_name = CTL_KERN, .procname = "kernel", .mode = 0555,
+       { .procname = "kernel", .mode = 0555,
          .child = kernel_table2 },
        {}
 };
index 58bc00f68b12edb451d3f619db81003925f85f47..02b442e92007ba90e0264d597124154f17683afa 100644 (file)
@@ -393,7 +393,6 @@ static ctl_table abi_table2[] = {
 
 static ctl_table abi_root_table2[] = {
        {
-               .ctl_name = CTL_ABI,
                .procname = "abi",
                .mode = 0555,
                .child = abi_table2