[PATCH] sysctl: ipmi: remove unnecessary insert_at_head flag
With unique sysctl binary numbers setting insert_at_head is pointless. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Corey Minyard <minyard@acm.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
0a4b9b6ec1
Коммит
bfe1a1e160
|
@ -686,7 +686,7 @@ static int ipmi_poweroff_init (void)
|
|||
printk(KERN_INFO PFX "Power cycle is enabled.\n");
|
||||
|
||||
#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) {
|
||||
printk(KERN_ERR PFX "Unable to register powercycle sysctl\n");
|
||||
rv = -ENOMEM;
|
||||
|
|
Загрузка…
Ссылка в новой задаче