summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-07-29 12:26:23 +0200
committerDavid Lamparter <equinox@diac24.net>2019-08-02 11:29:03 +0200
commite8a2cc5323a369d9da23336063c3ee4f73fed6a1 (patch)
tree73a99017c3b35ae37a79cb2ff986cda2f27f52a4
parentMerge pull request #4713 from ton31337/fix/set_comm-list_delete_into_config_m... (diff)
downloadfrr-e8a2cc5323a369d9da23336063c3ee4f73fed6a1.tar.xz
frr-e8a2cc5323a369d9da23336063c3ee4f73fed6a1.zip
ospfd: remove t_external_lsa
It's unused... Signed-off-by: David Lamparter <equinox@diac24.net>
-rw-r--r--ospfd/ospf_lsa.c2
-rw-r--r--ospfd/ospfd.c1
-rw-r--r--ospfd/ospfd.h1
3 files changed, 0 insertions, 4 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index bf46d2203..dd9d0ca27 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 a64ddbc3b..0325b7ba1 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 cbea033b7..38d4752cb 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 */