Remove unused xmlopt param Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx> --- src/conf/domain_conf.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index eabba68..44ce71b 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -11872,8 +11872,7 @@ virDomainVideoDefParseXML(xmlNodePtr node, } static virDomainHostdevDefPtr -virDomainHostdevDefParseXML(virDomainXMLOptionPtr xmlopt ATTRIBUTE_UNUSED, - const virDomainDef *vmdef ATTRIBUTE_UNUSED, +virDomainHostdevDefParseXML(const virDomainDef *vmdef ATTRIBUTE_UNUSED, xmlNodePtr node, xmlXPathContextPtr ctxt, virHashTablePtr bootHash, @@ -12445,8 +12444,8 @@ virDomainDeviceDefParse(const char *xmlStr, goto error; break; case VIR_DOMAIN_DEVICE_HOSTDEV: - if (!(dev->data.hostdev = virDomainHostdevDefParseXML(xmlopt, def, node, - ctxt, NULL, flags))) + if (!(dev->data.hostdev = virDomainHostdevDefParseXML(def, node, ctxt, + NULL, flags))) goto error; break; case VIR_DOMAIN_DEVICE_CONTROLLER: @@ -15971,8 +15970,8 @@ virDomainDefParseXML(xmlDocPtr xml, for (i = 0; i < n; i++) { virDomainHostdevDefPtr hostdev; - hostdev = virDomainHostdevDefParseXML(xmlopt, def, nodes[i], - ctxt, bootHash, flags); + hostdev = virDomainHostdevDefParseXML(def, nodes[i], ctxt, + bootHash, flags); if (!hostdev) goto error; -- 2.1.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list