aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/msr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index f5e3ff835cc8..ef688804f80d 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -224,7 +224,6 @@ static int __init msr_init(void)
224 return 0; 224 return 0;
225 225
226out_class: 226out_class:
227 cpuhp_remove_state(cpuhp_msr_state);
228 class_destroy(msr_class); 227 class_destroy(msr_class);
229out_chrdev: 228out_chrdev:
230 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr"); 229 __unregister_chrdev(MSR_MAJOR, 0, NR_CPUS, "cpu/msr");