From: Ján Tomko Date: Wed, 17 Jun 2015 15:57:56 +0000 (+0200) Subject: remove redundant condition X-Git-Tag: v1.2.17-rc1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fab625f968d51efbaa07a43283ccfe5dd1c6abe;p=thirdparty%2Flibvirt.git remove redundant condition If the address type is SPAPRVIO, it will match the != NONE condition. --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 3be7e85271..5a83774ab6 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -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;