This function is no longer used.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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);
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)
{