mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 12:35:48 +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
|
||||
};
|
||||
|
||||
extern void route_entry_copy_nexthops(struct route_entry *re,
|
||||
struct nexthop *nh);
|
||||
int route_entry_update_nhe(struct route_entry *re,
|
||||
struct nhg_hash_entry *new_nhghe);
|
||||
|
||||
|
@ -292,15 +292,6 @@ int zebra_check_addr(const struct prefix *p)
|
||||
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,
|
||||
struct nhg_hash_entry *new)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user