diff mbox

watchdog: Remove break after exit

Message ID 1374554809-31848-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil July 23, 2013, 4:46 a.m. UTC
This was dead code.

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

Comments

Andreas Färber July 23, 2013, 9:06 a.m. UTC | #1
Am 23.07.2013 06:46, schrieb Stefan Weil:
> This was dead code.
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>

Reviewed-by: Andreas Färber <afaerber@suse.de>

Andreas
Michael Tokarev July 23, 2013, 5:19 p.m. UTC | #2
23.07.2013 08:46, Stefan Weil wrote:
> This was dead code.

Thanks, applied to the trivial patches queue.

/mjt
diff mbox

Patch

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");