]> git.puffer.fish Git - mirror/frr.git/commit
tests: Do not explicitly set the thread pointer to NULL
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 4 Oct 2021 16:26:39 +0000 (19:26 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 4 Oct 2021 16:29:06 +0000 (19:29 +0300)
commitfeabd51dae76a1a85913b2d5b9cea95bc720eadc
treea27b8ae7427f8f918663f2051acd3a76735fd20a
parentbf5335cf3421811cd419d9b40be69d2ad9ed8bde
tests: 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>
tests/lib/test_timer_correctness.c
tests/lib/test_timer_performance.c