Commit bfe1a1e1 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

[PATCH] sysctl: ipmi: remove unnecessary insert_at_head flag

With unique sysctl binary numbers setting insert_at_head is pointless.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Cc: Corey Minyard <minyard@acm.org>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0a4b9b6e
...@@ -686,7 +686,7 @@ static int ipmi_poweroff_init (void) ...@@ -686,7 +686,7 @@ static int ipmi_poweroff_init (void)
printk(KERN_INFO PFX "Power cycle is enabled.\n"); printk(KERN_INFO PFX "Power cycle is enabled.\n");
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
ipmi_table_header = register_sysctl_table(ipmi_root_table, 1); ipmi_table_header = register_sysctl_table(ipmi_root_table, 0);
if (!ipmi_table_header) { if (!ipmi_table_header) {
printk(KERN_ERR PFX "Unable to register powercycle sysctl\n"); printk(KERN_ERR PFX "Unable to register powercycle sysctl\n");
rv = -ENOMEM; rv = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment