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/zebra_netns_notify.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/zebra_netns_notify.c')
| -rw-r--r-- | zebra/zebra_netns_notify.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c index 054015846f..61f97ce6a9 100644 --- a/zebra/zebra_netns_notify.c +++ b/zebra/zebra_netns_notify.c @@ -346,7 +346,6 @@ void zebra_ns_notify_init(void) { int fd_monitor; - zebra_netns_notify_current = NULL; fd_monitor = inotify_init(); if (fd_monitor < 0) { flog_err_sys( |
