diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-10-11 19:55:14 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-12-09 20:39:18 +0100 |
commit | 5084ff592ea64d532748ed729e95b6e467ca41a7 (patch) | |
tree | f854c94a0335bdd104aa77f63e7a47d1aa74a1d6 /vrrpd/vrrp_northbound.c | |
parent | vrrpd: northbound conversion (diff) | |
download | frr-5084ff592ea64d532748ed729e95b6e467ca41a7.tar.xz frr-5084ff592ea64d532748ed729e95b6e467ca41a7.zip |
vrrpd: remove unused variable in nb
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_northbound.c')
-rw-r--r-- | vrrpd/vrrp_northbound.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vrrpd/vrrp_northbound.c b/vrrpd/vrrp_northbound.c index 71fe6f1e4..70c5f9af9 100644 --- a/vrrpd/vrrp_northbound.c +++ b/vrrpd/vrrp_northbound.c @@ -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 listnode *ln; - const struct vrrp_vrouter *vr, *prev, *curr; + const struct vrrp_vrouter *vr, *curr; const struct interface *ifp = parent_list_entry; - prev = curr = NULL; + curr = NULL; vr = list_entry; /* @@ -94,8 +94,6 @@ lib_interface_vrrp_vrrp_group_get_next(const void *parent_list_entry, if (nextone && curr->ifp == ifp) goto done; - - prev = curr; } curr = NULL; |