From: Ján Tomko Date: Wed, 11 Jan 2023 15:56:54 +0000 (+0100) Subject: qemu: command: join two adjacent conditions X-Git-Tag: v9.3.0-rc1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d43bf23f390580cf7f1e268228e532b4fe5163;p=thirdparty%2Flibvirt.git qemu: command: join two adjacent conditions Signed-off-by: Ján Tomko Reviewed-by: Pavel Hrdina --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 4ca93bf3dc..0afb038954 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -8482,9 +8482,7 @@ qemuBuildInterfaceConnect(virDomainObj *vm, vm->def, tapfd[i]) < 0) return -1; } - } - if (vhostfd) { if (qemuInterfaceOpenVhostNet(vm, net) < 0) return -1; }