mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
tests: Drop unnecessary variables
In qemuxml2xmltest, both activeVcpus and blockjobs members of the testInfo struct have been entirely unused ever since commit d1a7fc8bb303. 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 *outInactiveName;
|
||||
|
||||
virBitmapPtr activeVcpus;
|
||||
bool blockjobs;
|
||||
|
||||
virQEMUCapsPtr qemuCaps;
|
||||
};
|
||||
|
||||
@ -108,9 +105,6 @@ testInfoClear(struct testInfo *info)
|
||||
VIR_FREE(info->outActiveName);
|
||||
VIR_FREE(info->outInactiveName);
|
||||
|
||||
virBitmapFree(info->activeVcpus);
|
||||
info->activeVcpus = NULL;
|
||||
|
||||
virObjectUnref(info->qemuCaps);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user