mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 01:18:00 +03:00
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}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
#define FILTER(NAME, FLAG) \
|
|
||||||
if (vshCommandOptBool(cmd, NAME)) \
|
|
||||||
flags |= (FLAG)
|
|
||||||
static bool
|
static bool
|
||||||
cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd)
|
cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd)
|
||||||
{
|
{
|
||||||
@ -1802,7 +1799,6 @@ cmdNetworkPortList(vshControl *ctl, const vshCmd *cmd)
|
|||||||
virshNetworkPortListFree(list);
|
virshNetworkPortListFree(list);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#undef FILTER
|
|
||||||
|
|
||||||
|
|
||||||
const vshCmdDef networkCmds[] = {
|
const vshCmdDef networkCmds[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user