Re: [PATCH 19/23] sysctl powerpc: Remove dead binary sysctl support

Benjamin Herrenschmidt
2009-11-08T20:44:00Z

On Sun, 2009-11-08 at 04:22 -0800, Eric W. Biederman wrote:
> From: Eric W. Biederman <ebiederm@xmission.com>
>
> Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name
> and .strategy members of sysctl tables are dead code. Remove them.
>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

> Cc: Paul Mackerras <paulus@samba.org>
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
> ---
> arch/powerpc/kernel/idle.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/kernel/idle.c b/arch/powerpc/kernel/idle.c
> index 88d9c1d..cece9e2 100644
> --- a/arch/powerpc/kernel/idle.c
> +++ b/arch/powerpc/kernel/idle.c
> @@ -110,7 +110,6 @@ int powersave_nap;
> */
> static ctl_table powersave_nap_ctl_table[]={
> {
> - .ctl_name = KERN_PPC_POWERSAVE_NAP,
> .procname = "powersave-nap",
> .data = &powersave_nap,
> .maxlen = sizeof(int),
> @@ -121,7 +120,6 @@ static ctl_table powersave_nap_ctl_table[]={
> };
> static ctl_table powersave_nap_sysctl_root[] = {
> {
> - .ctl_name = CTL_KERN,
> .procname = "kernel",
> .mode = 0555,
> .child = powersave_nap_ctl_table,