qemu: address: Stop reporting warning when USB address can't be released

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@redhat.com>
This commit is contained in:
Peter Krempa 2019-03-28 13:25:28 +01:00
parent 3c0b1cfdf6
commit 54eb3e096b

View File

@ -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);
}