linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: remove redundant code in machine_halt
@ 2014-05-07  5:50 Neil Zhang
  2014-05-14  7:51 ` Neil Zhang
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Zhang @ 2014-05-07  5:50 UTC (permalink / raw)
  To: linux-arm-kernel

There is no need to call local_irq_disable twice.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
---
 arch/arm/kernel/process.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 81ef686..18cfce4 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -195,7 +195,6 @@ void machine_halt(void)
 	local_irq_disable();
 	smp_send_stop();
 
-	local_irq_disable();
 	while (1);
 }
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-04  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07  5:50 [PATCH] ARM: remove redundant code in machine_halt Neil Zhang
2014-05-14  7:51 ` Neil Zhang
2014-07-04  3:05   ` Neil Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).