From 53d43bf23f390580cf7f1e268228e532b4fe5163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Wed, 11 Jan 2023 16:56:54 +0100 Subject: [PATCH] qemu: command: join two adjacent conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Reviewed-by: Pavel Hrdina --- src/qemu/qemu_command.c | 2 -- 1 file changed, 2 deletions(-) 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; }