diff options
| author | Pascal Mathis <mail@pascalmathis.com> | 2018-07-07 22:34:25 +0200 | 
|---|---|---|
| committer | Pascal Mathis <mail@pascalmathis.com> | 2018-07-07 22:51:13 +0200 | 
| commit | 3f54c705ecc008a69ce95f0f2e61cf529b520ee4 (patch) | |
| tree | 9a1eb3615cb5b876cca732867259933d2aff983f /bgpd/bgp_lcommunity.c | |
| parent | 76f17a8cc4346efabe5f87b5b2578ed6c8ee6fbf (diff) | |
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 <mail@pascalmathis.com>
Diffstat (limited to 'bgpd/bgp_lcommunity.c')
| -rw-r--r-- | bgpd/bgp_lcommunity.c | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_lcommunity.c b/bgpd/bgp_lcommunity.c index 33f4d139b8..3e160bc56e 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)  | 
