aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-07-23 06:46:49 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-07-27 11:22:54 +0400
commitf6019e5fada012f7f396c89968f2c242f92f40df (patch)
tree7113f5a225ee701f25855a8adef87145d3323016 /hw
parent0dd60ae2f4efd2966e8d6cb7db653d5d17a68c62 (diff)
downloadqemu-f6019e5fada012f7f396c89968f2c242f92f40df.zip
qemu-f6019e5fada012f7f396c89968f2c242f92f40df.tar.gz
qemu-f6019e5fada012f7f396c89968f2c242f92f40df.tar.bz2
watchdog: Remove break after exit
This was dead code. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/watchdog/watchdog.c1
1 files changed, 0 insertions, 1 deletions
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");