vrrpd: remove unused variables

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-10-11 21:00:47 +00:00
parent 5084ff592e
commit 6356b28642

View File

@ -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