qemuMigrationSrcBeginResumePhase: Remove unused 'driver' argument

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Peter Krempa 2022-08-29 16:58:09 +02:00
parent 8187c0ed94
commit 38607ea891
1 changed files with 1 additions and 2 deletions

View File

@ -2733,7 +2733,6 @@ qemuMigrationSrcBeginResume(virDomainObj *vm,
static char *
qemuMigrationSrcBeginResumePhase(virConnectPtr conn,
virQEMUDriver *driver G_GNUC_UNUSED,
virDomainObj *vm,
const char *xmlin,
char **cookieout,
@ -2792,7 +2791,7 @@ qemuMigrationSrcBegin(virConnectPtr conn,
}
if (flags & VIR_MIGRATE_POSTCOPY_RESUME) {
ret = qemuMigrationSrcBeginResumePhase(conn, driver, vm, xmlin,
ret = qemuMigrationSrcBeginResumePhase(conn, vm, xmlin,
cookieout, cookieoutlen, flags);
goto cleanup;
}