All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: anthony@codemonkey.ws
Cc: qemu-trivial@nongnu.org, Stefan Weil <sw@weilnetz.de>,
	Michael Tokarev <mjt@tls.msk.ru>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] [PULL trivial 05/11] watchdog: Remove break after exit
Date: Sat, 27 Jul 2013 11:33:20 +0400	[thread overview]
Message-ID: <1374910406-15273-6-git-send-email-mjt@msgid.tls.msk.ru> (raw)
In-Reply-To: <1374910406-15273-1-git-send-email-mjt@msgid.tls.msk.ru>

From: Stefan Weil <sw@weilnetz.de>

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>
---
 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

  parent reply	other threads:[~2013-07-27  7:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27  7:33 [Qemu-devel] [PULL trivial 00/11] trivial patches for 2013-07-27 Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 01/11] aes: Remove unused code (NDEBUG, u16) Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 02/11] timer: make timers_state static Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 03/11] hw/9pfs: Fix potential memory leak and avoid reuse of freed memory Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 04/11] exec: Remove env from list of poisoned names Michael Tokarev
2013-07-27  7:33 ` Michael Tokarev [this message]
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 06/11] PPC: dbdma: macio: Fix format specifiers (build regression) Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 07/11] linux-user: correct argument number for sys_mremap and sys_splice Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 08/11] misc: Fix new typos in comments and strings Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 09/11] qemu-options: mention C-a h in the -nographic doc Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 10/11] misc: Use g_assert_not_reached for code which is expected to be unreachable Michael Tokarev
2013-07-27  7:33 ` [Qemu-devel] [PULL trivial 11/11] target-mips: Remove assignment to a variable which is never used Michael Tokarev
2013-07-29  7:42 ` [Qemu-devel] [PULL trivial 00/11] trivial patches for 2013-07-27 Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374910406-15273-6-git-send-email-mjt@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.