mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
3056f44e72
commit
3a79025d87
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue