summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_northbound.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-10-11 23:00:47 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-12-09 20:39:18 +0100
commit6356b28642d728819a0feff915d94bc83ad0f546 (patch)
tree4a36abc72fb9fc478d8c584d9ad84780dec3107b /vrrpd/vrrp_northbound.c
parentvrrpd: remove unused variable in nb (diff)
downloadfrr-6356b28642d728819a0feff915d94bc83ad0f546.tar.xz
frr-6356b28642d728819a0feff915d94bc83ad0f546.zip
vrrpd: remove unused variables
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_northbound.c')
-rw-r--r--vrrpd/vrrp_northbound.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vrrpd/vrrp_northbound.c b/vrrpd/vrrp_northbound.c
index 70c5f9af9..cf9ae2e65 100644
--- a/vrrpd/vrrp_northbound.c
+++ b/vrrpd/vrrp_northbound.c
@@ -74,12 +74,9 @@ 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, *curr;
+ const struct vrrp_vrouter *curr;
const struct interface *ifp = parent_list_entry;
- curr = NULL;
- vr = list_entry;
-
/*
* If list_entry is null, we return the first vrrp instance with a
* matching interface