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 <>
Cc: Corey Minyard <>
Acked-by: default avatarBenjamin Herrenschmidt <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 0a4b9b6e
......@@ -686,7 +686,7 @@ static int ipmi_poweroff_init (void)
printk(KERN_INFO PFX "Power cycle is enabled.\n");
ipmi_table_header = register_sysctl_table(ipmi_root_table, 1);
ipmi_table_header = register_sysctl_table(ipmi_root_table, 0);
if (!ipmi_table_header) {
printk(KERN_ERR PFX "Unable to register powercycle sysctl\n");
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