ARM: 8568/1: reboot: remove duplicated local_irq_disable()
authorJisheng Zhang <jszhang@marvell.com>
Thu, 28 Apr 2016 08:52:44 +0000 (09:52 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 5 May 2016 18:02:09 +0000 (19:02 +0100)
commit953efb2b86cfdad340965222389122cc81cba76e
tree45a7aff01f1c16c4adc74e80d63e81b42398108c
parentbc5ce155d9d769f86a63a1301fb295ea3fcf22b2
ARM: 8568/1: reboot: remove duplicated local_irq_disable()

Once entering machine_halt() and machine_restart(), local_irq_disable()
is called, and local irq is kept disabled, so the local_irq_disable()
at the end of these two functions are not necessary, remove it.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/reboot.c