The warning is reported at a code path which already reports a proper
error so it's pointless to add yet another line into logs.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_domain_address.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c
index f217d1599a..28e79af7b1 100644
--- a/src/qemu/qemu_domain_address.c
+++ b/src/qemu/qemu_domain_address.c
@@ -3264,8 +3264,7 @@ qemuDomainReleaseDeviceAddress(virDomainObjPtr vm,
virDomainPCIAddressExtensionReleaseAddr(priv->pciaddrs,
&info->addr.pci);
}
- if (virDomainUSBAddressRelease(priv->usbaddrs, info) < 0)
- VIR_WARN("Unable to release USB address on %s",
NULLSTR(info->alias));
+ virDomainUSBAddressRelease(priv->usbaddrs, info);
}
--
2.20.1