projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/msr: Remove bogus cleanup from the error path
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
msr.c
diff --git
a/arch/x86/kernel/msr.c
b/arch/x86/kernel/msr.c
index f5e3ff835cc8a318c12c3decc8532cc9df411b69..ef688804f80d33088fef15448996a97f69e2b193 100644
(file)
--- a/
arch/x86/kernel/msr.c
+++ b/
arch/x86/kernel/msr.c
@@
-224,7
+224,6
@@
static int __init msr_init(void)
return 0;
out_class:
- cpuhp_remove_state(cpuhp_msr_state);
class_destroy(msr_class);
out_chrdev:
__unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr");