From e7967470926f1ecc347cc1720ca92d76e0b25b4e Mon Sep 17 00:00:00 2001 From: Nikolay Shirokovskiy Date: Fri, 1 Sep 2017 09:49:23 +0300 Subject: [PATCH] qemu: drop excessive zero-out in qemuMigrationFetchJobStatus qemuMonitorGetMigrationStats will do it for us anyway. Signed-off-by: Jiri Denemark --- src/qemu/qemu_migration.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 33171e5990..e2760d122e 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -1387,7 +1387,6 @@ qemuMigrationFetchJobStatus(virQEMUDriverPtr driver, if (qemuDomainObjEnterMonitorAsync(driver, vm, asyncJob) < 0) return -1; - memset(&jobInfo->stats, 0, sizeof(jobInfo->stats)); rv = qemuMonitorGetMigrationStats(priv->mon, &jobInfo->stats); if (qemuDomainObjExitMonitor(driver, vm) < 0 || rv < 0)