x86/msr: Remove bogus cleanup from the error path
authorThomas Gleixner <tglx@linutronix.de>
Thu, 22 Dec 2016 09:32:38 +0000 (10:32 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 Dec 2016 09:47:41 +0000 (10:47 +0100)
commit59fefd0890f12716b39de1d4e5482fd739316262
treefa3707ffd6c5caae7395b8233479175e42af60b4
parent26242b330093fd14c2e94fb6cbdf0f482ab26576
x86/msr: Remove bogus cleanup from the error path

The error cleanup which is invoked when the hotplug state setup failed
tries to remove the failed state, which is broken.

Fixes: 8fba38c937cd ("x86/msr: Convert to hotplug state machine")
Reported-by: kernel test robot <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
arch/x86/kernel/msr.c