diff options
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 6a01dd9e43f8..8435fba73daf 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -4136,7 +4136,7 @@ static __exit void cleanup_ipmi(void) | |||
4136 | del_timer_sync(&ipmi_timer); | 4136 | del_timer_sync(&ipmi_timer); |
4137 | 4137 | ||
4138 | #ifdef CONFIG_PROC_FS | 4138 | #ifdef CONFIG_PROC_FS |
4139 | remove_proc_entry(proc_ipmi_root->name, &proc_root); | 4139 | remove_proc_entry(proc_ipmi_root->name, NULL); |
4140 | #endif /* CONFIG_PROC_FS */ | 4140 | #endif /* CONFIG_PROC_FS */ |
4141 | 4141 | ||
4142 | driver_unregister(&ipmidriver); | 4142 | driver_unregister(&ipmidriver); |