提交 7c6733a2 编写于 作者: J Ján Tomko

Return void in qemuDomainAssignARMVirtioMMIOAddresses

This function does not fail and it does not need to return anything.
上级 ef0f90d1
......@@ -398,7 +398,7 @@ qemuDomainAssignS390Addresses(virDomainDefPtr def,
}
static int
static void
qemuDomainAssignARMVirtioMMIOAddresses(virDomainDefPtr def,
virQEMUCapsPtr qemuCaps)
{
......@@ -411,7 +411,6 @@ qemuDomainAssignARMVirtioMMIOAddresses(virDomainDefPtr def,
qemuDomainPrimeVirtioDeviceAddresses(
def, VIR_DOMAIN_DEVICE_ADDRESS_TYPE_VIRTIO_MMIO);
}
return 0;
}
......@@ -1659,9 +1658,7 @@ qemuDomainAssignAddresses(virDomainDefPtr def,
if (rc)
return rc;
rc = qemuDomainAssignARMVirtioMMIOAddresses(def, qemuCaps);
if (rc)
return rc;
qemuDomainAssignARMVirtioMMIOAddresses(def, qemuCaps);
return qemuDomainAssignPCIAddresses(def, qemuCaps, obj);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册