From: Quentin Young Date: Fri, 24 Aug 2018 18:21:17 +0000 (+0000) Subject: bgpd: remove duplicate log_ref_add() X-Git-Tag: frr-7.1-dev~371^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c98d5ce810aaaa59f09ae3f078e26d999d77dcdd;p=mirror%2Ffrr.git bgpd: remove duplicate log_ref_add() Signed-off-by: Quentin Young --- diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index 16ff336e68..827927f1b9 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -470,7 +470,6 @@ static struct log_ref ferr_bgp_err[] = { void bgp_error_init(void) { - log_ref_add(ferr_bgp_warn); log_ref_add(ferr_bgp_err); log_ref_add(ferr_bgp_warn); }