]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Drop unnecessary variables
authorAndrea Bolognani <abologna@redhat.com>
Tue, 12 Mar 2019 13:07:11 +0000 (14:07 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 12 Mar 2019 13:09:49 +0000 (14:09 +0100)
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>
tests/qemuxml2xmltest.c

index e08d30c67676f19b2e667aa78ea30fc876a275bb..3efa49811456acdc9f8fe86181ffe215d9017bc9 100644 (file)
@@ -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);
 }