mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Drop qemuMigrationParamsClear
It's no longer used since we do not store the struct on a stack anymore. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
163304c24f
commit
dc4bb72201
@ -51,23 +51,13 @@ qemuMigrationParamsNew(void)
|
||||
|
||||
|
||||
void
|
||||
qemuMigrationParamsClear(qemuMonitorMigrationParamsPtr migParams)
|
||||
qemuMigrationParamsFree(qemuMonitorMigrationParamsPtr migParams)
|
||||
{
|
||||
if (!migParams)
|
||||
return;
|
||||
|
||||
VIR_FREE(migParams->tlsCreds);
|
||||
VIR_FREE(migParams->tlsHostname);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
qemuMigrationParamsFree(qemuMonitorMigrationParamsPtr migParams)
|
||||
{
|
||||
if (!migParams)
|
||||
return;
|
||||
|
||||
qemuMigrationParamsClear(migParams);
|
||||
VIR_FREE(migParams);
|
||||
}
|
||||
|
||||
|
@ -36,9 +36,6 @@ qemuMigrationParamsFromFlags(virTypedParameterPtr params,
|
||||
int nparams,
|
||||
unsigned long flags);
|
||||
|
||||
void
|
||||
qemuMigrationParamsClear(qemuMonitorMigrationParamsPtr migParams);
|
||||
|
||||
void
|
||||
qemuMigrationParamsFree(qemuMonitorMigrationParamsPtr migParams);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user