summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-10-01 15:18:44 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-10-01 18:25:57 +0200
commit5b8bca89b8101ba943b9a3b1c0d602690b78499f (patch)
treea1f6409f5ad52647743840bec7617279c01659be /bgpd/bgp_route.c
parentbgpd: Cleanup multipath figuring out in bgp (diff)
downloadfrr-5b8bca89b8101ba943b9a3b1c0d602690b78499f.tar.xz
frr-5b8bca89b8101ba943b9a3b1c0d602690b78499f.zip
bgpd: Remove bgp_path_info_mpath_dequeue
This function is no doing any work. Let's remove. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 00d128557..8dbb4e3b0 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -525,8 +525,6 @@ struct bgp_dest *bgp_path_info_reap(struct bgp_dest *dest,
else
bgp_dest_set_bgp_path_info(dest, pi->next);
- bgp_path_info_mpath_dequeue(pi);
-
pi->next = NULL;
pi->prev = NULL;
@@ -541,8 +539,6 @@ struct bgp_dest *bgp_path_info_reap(struct bgp_dest *dest,
static struct bgp_dest *bgp_path_info_reap_unsorted(struct bgp_dest *dest,
struct bgp_path_info *pi)
{
- bgp_path_info_mpath_dequeue(pi);
-
pi->next = NULL;
pi->prev = NULL;