From 3f54c705ecc008a69ce95f0f2e61cf529b520ee4 Mon Sep 17 00:00:00 2001 From: Pascal Mathis Date: Sat, 7 Jul 2018 22:34:25 +0200 Subject: bgpd: Cleanup of bgp daemon code This commit removes various parts of the bgpd implementation code which are unused/useless, e.g. unused functions, unused variable initializations, unused structs, ... Signed-off-by: Pascal Mathis --- bgpd/bgp_lcommunity.c | 1 - 1 file changed, 1 deletion(-) (limited to 'bgpd/bgp_lcommunity.c') diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c index 33f4d139b..3e160bc56 100644 --- a/bgpd/bgp_lcommunity.c +++ b/bgpd/bgp_lcommunity.c @@ -50,7 +50,6 @@ void lcommunity_free(struct lcommunity **lcom) if ((*lcom)->str) XFREE(MTYPE_LCOMMUNITY_STR, (*lcom)->str); XFREE(MTYPE_LCOMMUNITY, *lcom); - lcom = NULL; } static void lcommunity_hash_free(struct lcommunity *lcom) -- cgit v1.2.3