]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: remove unused FILTER macro
authorJán Tomko <jtomko@redhat.com>
Mon, 27 Jul 2020 23:39:13 +0000 (01:39 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 05:23:45 +0000 (07:23 +0200)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: c2dd9ddf7b18ebfb108623d4711c80b716a261d7
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
tools/virsh-network.c

index ed90736345e77fea1ec0f74f8a5cb85574e8cf9c..b10cd03bccab5df32c57c00d397af2ea537d1e82 100644 (file)
@@ -1744,9 +1744,6 @@ static const vshCmdOptDef opts_network_port_list[] = {
     {.name = NULL}
 };
 
-#define FILTER(NAME, FLAG) \
-    if (vshCommandOptBool(cmd, NAME)) \
-        flags |= (FLAG)
 static bool
 cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd)
 {
@@ -1802,7 +1799,6 @@ cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd)
     virshNetworkPortListFree(list);
     return ret;
 }
-#undef FILTER
 
 
 const vshCmdDef networkCmds[] = {