]> xenbits.xensource.com Git - libvirt.git/commitdiff
remove redundant condition
authorJán Tomko <jtomko@redhat.com>
Wed, 17 Jun 2015 15:57:56 +0000 (17:57 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 18 Jun 2015 10:13:00 +0000 (12:13 +0200)
If the address type is SPAPRVIO, it will match the != NONE condition.

src/qemu/qemu_command.c

index 3be7e85271b6ede17e5a4541bf8aa0c9f864e8cb..5a83774ab63da162b1d9bfeaeb45389af9f9c728 100644 (file)
@@ -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;