Received: from eggs.gnu.org ([2001:4830:134:3::10]:44090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKWYj-0002sP-8v for qemu-devel@nongnu.org; Mon, 03 Mar 2014 12:21:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKWYe-0003O9-9P for qemu-devel@nongnu.org; Mon, 03 Mar 2014 12:21:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKWYe-0003Nl-0B for qemu-devel@nongnu.org; Mon, 03 Mar 2014 12:21:40 -0500 From: Luiz Capitulino Date: Mon, 3 Mar 2014 12:12:10 -0500 Message-Id: <1393866743-17385-20-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1393866743-17385-1-git-send-email-lcapitulino@redhat.com> References: <1393866743-17385-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PULL 19/32] monitor: Remove left-over code in do_info_profile. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws From: Hani Benhabiles This is a left-over from 4a1418e. Signed-off-by: Hani Benhabiles Signed-off-by: Luiz Capitulino --- 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", -- 1.8.1.4