]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2bb9e3c8bba6abf19cec6e2f3bb2ec1966bd456
treefa3707ffd6c5caae7395b8233479175e42af60b4
parentaf0a3a3c6a961c705c38eff9ffdd94ebb2b8408e
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: fcf1a903a9f3 ("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