mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
vrrpd: remove unused variable in nb
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
f495425b64
commit
5084ff592e
@ -74,10 +74,10 @@ lib_interface_vrrp_vrrp_group_get_next(const void *parent_list_entry,
|
|||||||
{
|
{
|
||||||
struct list *l = hash_to_list(vrrp_vrouters_hash);
|
struct list *l = hash_to_list(vrrp_vrouters_hash);
|
||||||
struct listnode *ln;
|
struct listnode *ln;
|
||||||
const struct vrrp_vrouter *vr, *prev, *curr;
|
const struct vrrp_vrouter *vr, *curr;
|
||||||
const struct interface *ifp = parent_list_entry;
|
const struct interface *ifp = parent_list_entry;
|
||||||
|
|
||||||
prev = curr = NULL;
|
curr = NULL;
|
||||||
vr = list_entry;
|
vr = list_entry;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -94,8 +94,6 @@ lib_interface_vrrp_vrrp_group_get_next(const void *parent_list_entry,
|
|||||||
|
|
||||||
if (nextone && curr->ifp == ifp)
|
if (nextone && curr->ifp == ifp)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
prev = curr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
curr = NULL;
|
curr = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user