mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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)
|
def->controllers[i]->idx == 0)
|
||||||
continue;
|
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)
|
if (def->controllers[i]->info.type != VIR_DOMAIN_DEVICE_ADDRESS_TYPE_NONE)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user