mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 16:57:44 +00:00
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:
parent
30634856b4
commit
ae84497d13
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user