virsh: remove unused FILTER macro

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: c2dd9ddf7b
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Ján Tomko 2020-07-28 01:39:13 +02:00
parent 3056f44e72
commit 3a79025d87

View 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[] = {