ARM: CPU hotplug: remove bug checks in platform_cpu_die()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Nov 2010 11:12:30 +0000 (11:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:09:10 +0000 (15:09 +0000)
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: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found