mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-18 06:51:54 +00:00
Killed unused variable.
This commit is contained in:
parent
28950169e7
commit
be3b6dc574
@ -643,6 +643,7 @@ rip_real_if_add(struct object_lock *lock)
|
|||||||
DBG("adding interface %s\n", iface->name );
|
DBG("adding interface %s\n", iface->name );
|
||||||
rif = new_iface(p, iface, iface->flags, k);
|
rif = new_iface(p, iface, iface->flags, k);
|
||||||
add_head( &P->interfaces, NODE rif );
|
add_head( &P->interfaces, NODE rif );
|
||||||
|
DBG("Adding object lock of %p\n", lock);
|
||||||
rif->lock = lock;
|
rif->lock = lock;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -662,7 +663,6 @@ rip_if_notify(struct proto *p, unsigned c, struct iface *iface)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (c & IF_CHANGE_UP) {
|
if (c & IF_CHANGE_UP) {
|
||||||
struct rip_interface *rif;
|
|
||||||
struct iface_patt *k = iface_patt_match(&P_CF->iface_list, iface);
|
struct iface_patt *k = iface_patt_match(&P_CF->iface_list, iface);
|
||||||
struct object_lock *lock;
|
struct object_lock *lock;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user