projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a4b9b6
)
[PATCH] sysctl: ipmi: remove unnecessary insert_at_head flag
author
Eric W. Biederman
<
[email protected]
>
Wed, 14 Feb 2007 08:33:33 +0000
(
00:33
-0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 14 Feb 2007 16:09:56 +0000
(08:09 -0800)
With unique sysctl binary numbers setting insert_at_head is pointless.
Signed-off-by: Eric W. Biederman <
[email protected]
>
Cc: Corey Minyard <
[email protected]
>
Acked-by: Benjamin Herrenschmidt <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/ipmi/ipmi_poweroff.c
patch
|
blob
|
history
diff --git
a/drivers/char/ipmi/ipmi_poweroff.c
b/drivers/char/ipmi/ipmi_poweroff.c
index 9d23136e598a74ce54c4a52d6a250f8f8a6202b5..b3ae65e2ba0c7c3a37f35ca6ddf7bdbb034a975c 100644
(file)
--- a/
drivers/char/ipmi/ipmi_poweroff.c
+++ b/
drivers/char/ipmi/ipmi_poweroff.c
@@
-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;