]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospfd: remove t_external_lsa
authorDavid Lamparter <equinox@diac24.net>
Mon, 29 Jul 2019 10:26:23 +0000 (12:26 +0200)
committerDavid Lamparter <equinox@diac24.net>
Fri, 2 Aug 2019 09:29:03 +0000 (11:29 +0200)
It's unused...

Signed-off-by: David Lamparter <equinox@diac24.net>
ospfd/ospf_lsa.c
ospfd/ospfd.c
ospfd/ospfd.h

index bf46d22031762a375253d6a84a368d8860faee89..dd9d0ca27a8eda35db63a5cea8e760265f89b9be 100644 (file)
@@ -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;
index a64ddbc3b7df06426a2ca2caaeab9e5e804eba70..0325b7ba1b35013389a3177ee86df0bd9a2e4b53 100644 (file)
@@ -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);
index cbea033b7357a9ba0e9efa3fac3bac3a68318ee7..38d4752cbeffc96cb01448949ef53f90eeae85c9 100644 (file)
@@ -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 */