summaryrefslogtreecommitdiff
path: root/isisd/isis_tx_queue.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 19:24:54 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 19:24:54 +0300
commitc34d552dd5fe8a6821ec5efee2eb463fe3108424 (patch)
treee72da641b592e210ab6d6fe146b687daa3c38e52 /isisd/isis_tx_queue.c
parent876968a6104133c9964ecad376175baf463c86ff (diff)
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>
Diffstat (limited to 'isisd/isis_tx_queue.c')
-rw-r--r--isisd/isis_tx_queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/isisd/isis_tx_queue.c b/isisd/isis_tx_queue.c
index c7266152b7..d3da5b9d39 100644
--- a/isisd/isis_tx_queue.c
+++ b/isisd/isis_tx_queue.c
@@ -119,7 +119,6 @@ static int tx_queue_send_event(struct thread *thread)
struct isis_tx_queue_entry *e = THREAD_ARG(thread);
struct isis_tx_queue *queue = e->queue;
- e->retry = NULL;
thread_add_timer(master, tx_queue_send_event, e, 5, &e->retry);
if (e->is_retry)