From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJSY3-0000dC-LC for qemu-devel@nongnu.org; Fri, 28 Feb 2014 13:52:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJSXx-00037c-Sm for qemu-devel@nongnu.org; Fri, 28 Feb 2014 13:52:39 -0500 Date: Fri, 28 Feb 2014 13:50:02 -0500 From: Luiz Capitulino Message-ID: <20140228135002.73234702@redhat.com> In-Reply-To: <1393452592-13934-1-git-send-email-kroosec@gmail.com> References: <1393452592-13934-1-git-send-email-kroosec@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] monitor: Remove left-over code in do_info_profile. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hani Benhabiles Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Wed, 26 Feb 2014 23:09:52 +0100 Hani Benhabiles wrote: > This is a left-over from 4a1418e. > > Signed-off-by: Hani Benhabiles Applied to the qmp branch, thanks. > --- > monitor.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/monitor.c b/monitor.c > index aebcbd8..3863d83 100644 > --- a/monitor.c > +++ b/monitor.c > @@ -2021,10 +2021,6 @@ int64_t dev_time; > > static void do_info_profile(Monitor *mon, const QDict *qdict) > { > - int64_t total; > - total = qemu_time; > - if (total == 0) > - total = 1; > monitor_printf(mon, "async time %" PRId64 " (%0.3f)\n", > dev_time, dev_time / (double)get_ticks_per_sec()); > monitor_printf(mon, "qemu time %" PRId64 " (%0.3f)\n",