mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
testutils: Remove unneeded variable
virDomainXMLOptionNew() gladly accepts NULL and it is used in some drivers. There is no need for additional variable with no members set Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
1cb188de70
commit
64bebb2ba4
@ -1130,13 +1130,11 @@ virCapsPtr virTestGenericCapsInit(void)
|
|||||||
static virDomainDefParserConfig virTestGenericDomainDefParserConfig = {
|
static virDomainDefParserConfig virTestGenericDomainDefParserConfig = {
|
||||||
.features = VIR_DOMAIN_DEF_FEATURE_INDIVIDUAL_VCPUS,
|
.features = VIR_DOMAIN_DEF_FEATURE_INDIVIDUAL_VCPUS,
|
||||||
};
|
};
|
||||||
static virDomainXMLPrivateDataCallbacks virTestGenericPrivateDataCallbacks;
|
|
||||||
|
|
||||||
virDomainXMLOptionPtr virTestGenericDomainXMLConfInit(void)
|
virDomainXMLOptionPtr virTestGenericDomainXMLConfInit(void)
|
||||||
{
|
{
|
||||||
return virDomainXMLOptionNew(&virTestGenericDomainDefParserConfig,
|
return virDomainXMLOptionNew(&virTestGenericDomainDefParserConfig,
|
||||||
&virTestGenericPrivateDataCallbacks,
|
NULL, NULL, NULL, NULL);
|
||||||
NULL, NULL, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user