cpu/hotplug: Remove redundant state check
authorThomas Gleixner <tglx@linutronix.de>
Thu, 3 Mar 2016 11:24:10 +0000 (12:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 6 Mar 2016 15:59:42 +0000 (16:59 +0100)
commit5d8eb84253333f8f63ec704276e3f0a8ec8f3189
tree3aa264bdb1b803a9baf5ea484c6b03bef2f662f4
parent71f87b2fc64c2e9b6d53cb817f28711b959d3dfe
cpu/hotplug: Remove redundant state check

The check for the AP range in cpuhp_is_ap_state() is redundant after commit
8df3e07e7f21 "cpu/hotplug: Let upcoming cpu bring itself fully up" because all
states above CPUHP_BRINGUP_CPU are invoked on the hotplugged cpu. Remove it.

Reported-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/cpu.c