diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 15:28:36 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 15:28:36 +0200 |
commit | c733548963447f4383866f66117fd5e302d53baa (patch) | |
tree | 2320fb7eef4d8adf4dc097f4808d107953f557e6 /ripngd/ripngd.h | |
parent | Merge pull request #9714 from idryzhov/bgp-ext-comm-doc (diff) | |
download | frr-c733548963447f4383866f66117fd5e302d53baa.tar.xz frr-c733548963447f4383866f66117fd5e302d53baa.zip |
ripngd: Ensure better `struct thread *` semantics
1) Remove `struct thread *` pointers that are never used
2) 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: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripngd/ripngd.h')
-rw-r--r-- | ripngd/ripngd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h index 12e5a6d4a..6bf687b02 100644 --- a/ripngd/ripngd.h +++ b/ripngd/ripngd.h @@ -137,10 +137,7 @@ struct ripng { /* RIPng threads. */ struct thread *t_read; - struct thread *t_write; struct thread *t_update; - struct thread *t_garbage; - struct thread *t_zebra; /* Triggered update hack. */ int trigger; |