From: Hani Benhabiles Date: Wed, 26 Feb 2014 22:09:52 +0000 (+0100) Subject: monitor: Remove left-over code in do_info_profile. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=de92f3f86adc73db1ee8d1eebdfcf3b59476495b;p=qemu.git monitor: Remove left-over code in do_info_profile. This is a left-over from 4a1418e. Signed-off-by: Hani Benhabiles Signed-off-by: Luiz Capitulino --- diff --git a/monitor.c b/monitor.c index aebcbd8beb..3863d83466 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",