diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-11 11:08:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-11 11:09:42 +0200 |
commit | d2af73a348c4a230792d190c774a431fe5c31515 (patch) | |
tree | 328dad904fbffb9e48ab2707689a51db2644f307 /nptl/pthread_sigqueue.c | |
parent | 5f717849198273153a5d390985157fbf973c4e39 (diff) | |
download | glibc-d2af73a348c4a230792d190c774a431fe5c31515.zip glibc-d2af73a348c4a230792d190c774a431fe5c31515.tar.gz glibc-d2af73a348c4a230792d190c774a431fe5c31515.tar.bz2 |
nptl: Remove always-disabled debugging support
This removes the DEBUGGING_P macro and the __pthread_debug variable.
The __find_in_stack_list function is now unused and deleted as well.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_sigqueue.c')
-rw-r--r-- | nptl/pthread_sigqueue.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nptl/pthread_sigqueue.c b/nptl/pthread_sigqueue.c index 64bacfe..3ffb595 100644 --- a/nptl/pthread_sigqueue.c +++ b/nptl/pthread_sigqueue.c @@ -31,11 +31,6 @@ pthread_sigqueue (pthread_t threadid, int signo, const union sigval value) #ifdef __NR_rt_tgsigqueueinfo struct pthread *pd = (struct pthread *) threadid; - /* Make sure the descriptor is valid. */ - if (DEBUGGING_P && INVALID_TD_P (pd)) - /* Not a valid thread handle. */ - return ESRCH; - /* Force load of pd->tid into local variable or register. Otherwise if a thread exits between ESRCH test and tgkill, we might return EINVAL, because pd->tid would be cleared by the kernel. */ |