summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/vnc_export_table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-08 20:53:43 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-19 13:54:10 -0400
commit04fd828f3fec7b76be6de73eafc5af081c3b4714 (patch)
tree84c5ddabcbbb458800ce9d4a1345019a9277a9f5 /bgpd/rfapi/vnc_export_table.c
parent3f22218b48807e3d5fa4a041536f65e5352f358b (diff)
bgpd: rfapi code does not need to assert on memory allocations
cleanup memory allocations asserting that it didn't fail as well as clean up some thread shenanigans. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/rfapi/vnc_export_table.c')
-rw-r--r--bgpd/rfapi/vnc_export_table.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/rfapi/vnc_export_table.c b/bgpd/rfapi/vnc_export_table.c
index 255f868bdf..743576d265 100644
--- a/bgpd/rfapi/vnc_export_table.c
+++ b/bgpd/rfapi/vnc_export_table.c
@@ -119,7 +119,6 @@ struct vnc_export_info *vnc_eti_get(struct bgp *bgp, vnc_export_type_t etype,
agg_unlock_node(etn);
} else {
eti = XCALLOC(MTYPE_RFAPI_ETI, sizeof(struct vnc_export_info));
- assert(eti);
eti->node = etn;
eti->peer = peer;
peer_lock(peer);