Re: [Qemu-devel] [PATCH] watchdog: Remove break after exit

2013-07-23 Thread Andreas Färber
Am 23.07.2013 06:46, schrieb Stefan Weil:
 This was dead code.
 
 Signed-off-by: Stefan Weil s...@weilnetz.de

Reviewed-by: Andreas Färber afaer...@suse.de

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



[Qemu-devel] [PATCH] watchdog: Remove break after exit

2013-07-22 Thread Stefan Weil
This was dead code.

Signed-off-by: Stefan Weil s...@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