Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bbc81fd4 authored by Russell King's avatar Russell King
Browse files

ARM: CPU hotplug: remove bug checks in platform_cpu_die()



platform_cpu_die() is entered from the CPU's own idle thread, which
can not be migrated to other CPUs.  Moreover, the 'cpu' argument
comes from the thread info, which will always be the 'current'
CPU.  So remove this useless bug check.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3c030bea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment