located at qemuMigrationConfirm
Signed-off-by: liguang <lig.fnst(a)cn.fujitsu.com>
---
src/qemu/qemu_migration.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 6845a97..26aacaf 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -3157,7 +3157,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
unsigned int flags,
int retcode)
{
- qemuMigrationCookiePtr mig;
virDomainEventPtr event = NULL;
int rv = -1;
VIR_DEBUG("driver=%p, conn=%p, vm=%p, cookiein=%s, cookieinlen=%d, "
@@ -3172,8 +3171,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
? QEMU_MIGRATION_PHASE_CONFIRM3
: QEMU_MIGRATION_PHASE_CONFIRM3_CANCELLED);
- if (!(mig = qemuMigrationEatCookie(driver, vm, cookiein, cookieinlen, 0)))
- return -1;
if (flags & VIR_MIGRATE_OFFLINE)
goto offline;
@@ -3213,7 +3210,6 @@ int qemuMigrationConfirm(struct qemud_driver *driver,
}
offline:
- qemuMigrationCookieFree(mig);
rv = 0;
cleanup:
--
1.7.2.5