]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit970cfffef95e0ba24393727fdf1190fb96081e6b
tree3aa264bdb1b803a9baf5ea484c6b03bef2f662f4
parent9385e0084779583218d233ac5f07995015d306a5
cpu/hotplug: Remove redundant state check

The check for the AP range in cpuhp_is_ap_state() is redundant after commit
be241b7b7607 "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