From e8a2cc5323a369d9da23336063c3ee4f73fed6a1 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 29 Jul 2019 12:26:23 +0200 Subject: [PATCH] ospfd: remove t_external_lsa It's unused... Signed-off-by: David Lamparter --- ospfd/ospf_lsa.c | 2 -- ospfd/ospfd.c | 1 - ospfd/ospfd.h | 1 - 3 files changed, 4 deletions(-) diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index bf46d22031..dd9d0ca27a 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2031,8 +2031,6 @@ int ospf_external_lsa_originate_timer(struct thread *thread) struct listnode *node; struct ospf_external *ext; - ospf->t_external_lsa = NULL; - ext_list = ospf->external[type]; if (!ext_list) return 0; diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a64ddbc3b7..0325b7ba1b 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -702,7 +702,6 @@ static void ospf_finish_final(struct ospf *ospf) /* Cancel all timers. */ OSPF_TIMER_OFF(ospf->t_read); OSPF_TIMER_OFF(ospf->t_write); - OSPF_TIMER_OFF(ospf->t_external_lsa); OSPF_TIMER_OFF(ospf->t_spf_calc); OSPF_TIMER_OFF(ospf->t_ase_calc); OSPF_TIMER_OFF(ospf->t_maxage); diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h index cbea033b73..38d4752cbe 100644 --- a/ospfd/ospfd.h +++ b/ospfd/ospfd.h @@ -233,7 +233,6 @@ struct ospf { struct thread *t_distribute_update; /* Distirbute list update timer. */ struct thread *t_spf_calc; /* SPF calculation timer. */ struct thread *t_ase_calc; /* ASE calculation timer. */ - struct thread *t_external_lsa; /* AS-external-LSA origin timer. */ struct thread *t_opaque_lsa_self; /* Type-11 Opaque-LSAs origin event. */ struct thread *t_sr_update; /* Segment Routing update timer */ -- 2.39.5