diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:23:55 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-04 19:23:55 +0300 |
| commit | 510404d9f351741449ae81b1102127b6c465e471 (patch) | |
| tree | 9ca5077108d2cf0aaf972f19ca019cb3a0fa14f7 /zebra/irdp_packet.c | |
| parent | d0bf22a10bbda51bba86d4c51fe9055deb91664b (diff) | |
zebra: 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 'zebra/irdp_packet.c')
| -rw-r--r-- | zebra/irdp_packet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/irdp_packet.c b/zebra/irdp_packet.c index 7d67c42a79..5601b13a92 100644 --- a/zebra/irdp_packet.c +++ b/zebra/irdp_packet.c @@ -233,7 +233,6 @@ int irdp_read_raw(struct thread *r) int ret, ifindex = 0; int irdp_sock = THREAD_FD(r); - t_irdp_raw = NULL; thread_add_read(zrouter.master, irdp_read_raw, NULL, irdp_sock, &t_irdp_raw); |
