mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
tests: Drop unnecessary variables
In qemuxml2xmltest, both activeVcpus and blockjobs members
of the testInfo struct have been entirely unused ever since
commit d1a7fc8bb3
.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
23e0bf1c4e
commit
2c0b8d6a08
@ -30,9 +30,6 @@ struct testInfo {
|
|||||||
char *outActiveName;
|
char *outActiveName;
|
||||||
char *outInactiveName;
|
char *outInactiveName;
|
||||||
|
|
||||||
virBitmapPtr activeVcpus;
|
|
||||||
bool blockjobs;
|
|
||||||
|
|
||||||
virQEMUCapsPtr qemuCaps;
|
virQEMUCapsPtr qemuCaps;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -108,9 +105,6 @@ testInfoClear(struct testInfo *info)
|
|||||||
VIR_FREE(info->outActiveName);
|
VIR_FREE(info->outActiveName);
|
||||||
VIR_FREE(info->outInactiveName);
|
VIR_FREE(info->outInactiveName);
|
||||||
|
|
||||||
virBitmapFree(info->activeVcpus);
|
|
||||||
info->activeVcpus = NULL;
|
|
||||||
|
|
||||||
virObjectUnref(info->qemuCaps);
|
virObjectUnref(info->qemuCaps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user