Skip to contentSkip to conversation

watchdog: Remove break after exit

PATCH Applied Stefan Weil 3 participants 3 messages Jul 23, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: Remove break after exit

This was dead code.

---
 hw/watchdog/watchdog.c |    1 -
 1 file changed, 1 deletion(-)
hw/watchdog/watchdog.c +0 -1
index cb4e1f9..387962e 100644
@@ -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");
Signature · 1 line
1.7.10.4