All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] watchdog: Remove break after exit
@ 2013-07-23  4:46 ` Stefan Weil
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Weil @ 2013-07-23  4:46 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Stefan Weil, qemu-devel

This was dead code.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 hw/watchdog/watchdog.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/watchdog/watchdog.c b/hw/watchdog/watchdog.c
index cb4e1f9..387962e 100644
--- a/hw/watchdog/watchdog.c
+++ b/hw/watchdog/watchdog.c
@@ -128,7 +128,6 @@ void watchdog_perform_action(void)
     case WDT_POWEROFF:          /* same as 'quit' command in monitor */
         watchdog_mon_event("poweroff");
         exit(0);
-        break;
 
     case WDT_PAUSE:             /* same as 'stop' command in monitor */
         watchdog_mon_event("pause");
-- 
1.7.10.4



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

end of thread, other threads:[~2013-07-23 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23  4:46 [Qemu-trivial] [PATCH] watchdog: Remove break after exit Stefan Weil
2013-07-23  4:46 ` [Qemu-devel] " Stefan Weil
2013-07-23  9:06 ` [Qemu-trivial] " Andreas Färber
2013-07-23  9:06   ` Andreas Färber
2013-07-23 17:19 ` [Qemu-trivial] " Michael Tokarev
2013-07-23 17:19   ` [Qemu-devel] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.