summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-04-07 02:08:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-04-07 02:10:52 +0200
commit9591da265339577c67a6f8083cdce4ac73070724 (patch)
tree8e601054b5b4cca3f12de7b648a29aefa144c964 /bgpd/bgp_route.h
parentospfd: rn may be null (diff)
downloadfrr-9591da265339577c67a6f8083cdce4ac73070724.tar.xz
frr-9591da265339577c67a6f8083cdce4ac73070724.zip
bgpd: Remove extra alloc function bgp_path_info_new
The bgp_path_info_new function whenever it was called pretty much duplicated the info_make function call. So convert over to using it and remove the bgp_path_info_new function so people are not tempted. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index fc5bf0c75..a559a6b58 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -564,7 +564,6 @@ extern void bgp_process_queues_drain_immediate(void);
extern struct bgp_node *bgp_afi_node_lookup(struct bgp_table *table, afi_t afi,
safi_t safi, struct prefix *p,
struct prefix_rd *prd);
-extern struct bgp_path_info *bgp_path_info_new(void);
extern void bgp_path_info_restore(struct bgp_node *rn,
struct bgp_path_info *path);