mirror of https://gitee.com/openkylin/libvirt.git
remove redundant condition
If the address type is SPAPRVIO, it will match the != NONE condition.
This commit is contained in:
parent
a9a27e602c
commit
6fab625f96
|
@ -2423,8 +2423,6 @@ qemuAssignDevicePCISlots(virDomainDefPtr def,
|
|||
def->controllers[i]->idx == 0)
|
||||
continue;
|
||||
|
||||
if (def->controllers[i]->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO)
|
||||
continue;
|
||||
if (def->controllers[i]->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue