diff options
Diffstat (limited to 'src/nxt_thread.c')
-rw-r--r-- | src/nxt_thread.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nxt_thread.c b/src/nxt_thread.c index 72429f4d..f3804719 100644 --- a/src/nxt_thread.c +++ b/src/nxt_thread.c @@ -242,10 +242,6 @@ nxt_thread_wait(nxt_thread_handle_t handle) nxt_tid_t nxt_thread_tid(nxt_thread_t *thr) { - if (thr == NULL) { - thr = nxt_thread(); - } - #if (NXT_HAVE_THREAD_STORAGE_CLASS) if (nxt_slow_path(thr->tid == 0)) { |