mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
zebra: Remove unused function route_entry_copy_nexthops
This function is no longer used. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
388907d53c
commit
20ceb5475d
@ -357,8 +357,6 @@ enum rib_update_event {
|
|||||||
RIB_UPDATE_MAX
|
RIB_UPDATE_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void route_entry_copy_nexthops(struct route_entry *re,
|
|
||||||
struct nexthop *nh);
|
|
||||||
int route_entry_update_nhe(struct route_entry *re,
|
int route_entry_update_nhe(struct route_entry *re,
|
||||||
struct nhg_hash_entry *new_nhghe);
|
struct nhg_hash_entry *new_nhghe);
|
||||||
|
|
||||||
|
@ -292,15 +292,6 @@ int zebra_check_addr(const struct prefix *p)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* copy_nexthop - copy a nexthop to the rib structure.
|
|
||||||
*/
|
|
||||||
void route_entry_copy_nexthops(struct route_entry *re, struct nexthop *nh)
|
|
||||||
{
|
|
||||||
assert(!re->nhe->nhg.nexthop);
|
|
||||||
copy_nexthops(&re->nhe->nhg.nexthop, nh, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void route_entry_attach_ref(struct route_entry *re,
|
static void route_entry_attach_ref(struct route_entry *re,
|
||||||
struct nhg_hash_entry *new)
|
struct nhg_hash_entry *new)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user