summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-24 18:21:17 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:56:41 +0000
commitc98d5ce810aaaa59f09ae3f078e26d999d77dcdd (patch)
treeb8b7590ddbb5c856b8343919f32a82ed82e92831 /bgpd/bgp_errors.c
parent5e1343f671676378de1c6a42dbb080ebcc33eeef (diff)
bgpd: remove duplicate log_ref_add()
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_errors.c')
-rw-r--r--bgpd/bgp_errors.c1
1 files changed, 0 insertions, 1 deletions
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);
}