mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05: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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user