提交 26ea5135 编写于 作者: E Eric W. Biederman

sysctl powerpc: 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: Paul Mackerras <paulus@samba.org>
Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
上级 d00faf81
...@@ -110,7 +110,6 @@ int powersave_nap; ...@@ -110,7 +110,6 @@ int powersave_nap;
*/ */
static ctl_table powersave_nap_ctl_table[]={ static ctl_table powersave_nap_ctl_table[]={
{ {
.ctl_name = KERN_PPC_POWERSAVE_NAP,
.procname = "powersave-nap", .procname = "powersave-nap",
.data = &powersave_nap, .data = &powersave_nap,
.maxlen = sizeof(int), .maxlen = sizeof(int),
...@@ -121,7 +120,6 @@ static ctl_table powersave_nap_ctl_table[]={ ...@@ -121,7 +120,6 @@ static ctl_table powersave_nap_ctl_table[]={
}; };
static ctl_table powersave_nap_sysctl_root[] = { static ctl_table powersave_nap_sysctl_root[] = {
{ {
.ctl_name = CTL_KERN,
.procname = "kernel", .procname = "kernel",
.mode = 0555, .mode = 0555,
.child = powersave_nap_ctl_table, .child = powersave_nap_ctl_table,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册