isisd: Do not explicitly set the thread pointer to NULL

FRR should only ever use the appropriate THREAD_ON/THREAD_OFF
semantics.  This is espacially true for the functions we
end up calling the thread for.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
Donatas Abraitis 2021-10-07 13:20:15 +03:00
parent 30634856b4
commit ae84497d13
2 changed files with 0 additions and 3 deletions

View File

@ -258,7 +258,6 @@ static int fabricd_initial_sync_timeout(struct thread *thread)
f->initial_sync_circuit->interface->name);
f->initial_sync_state = FABRICD_SYNC_PENDING;
f->initial_sync_circuit = NULL;
f->initial_sync_timeout = NULL;
return 0;
}
@ -403,7 +402,6 @@ static uint8_t fabricd_calculate_fabric_tier(struct isis_area *area)
static int fabricd_tier_set_timer(struct thread *thread)
{
struct fabricd *f = THREAD_ARG(thread);
f->tier_set_timer = NULL;
fabricd_set_tier(f, f->tier_pending);
return 0;

View File

@ -1840,7 +1840,6 @@ static int isis_run_spf_cb(struct thread *thread)
int have_run = 0;
XFREE(MTYPE_ISIS_SPF_RUN, run);
area->spf_timer[level - 1] = NULL;
if (!(area->is_type & level)) {
if (IS_DEBUG_SPF_EVENTS)