From 20bbf85954eefa628ea0362aad4d51ca05d24f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 5 Oct 2020 18:47:18 +0200 Subject: [PATCH] virsh: network-port: remove pointless comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We do not have a legacy API for listing network ports so there's nothing to fall back on. Signed-off-by: Ján Tomko Reviewed-by: Erik Skultety --- tools/virsh-network.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/virsh-network.c b/tools/virsh-network.c index c5347660de..745afc537d 100644 --- a/tools/virsh-network.c +++ b/tools/virsh-network.c @@ -1693,7 +1693,6 @@ virshNetworkPortListCollect(vshControl *ctl, if (!(network = virshCommandOptNetwork(ctl, cmd, NULL))) goto cleanup; - /* try the list with flags support (0.10.2 and later) */ if ((ret = virNetworkListAllPorts(network, &list->ports, flags)) < 0)