summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-08-23 16:02:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-09-10 11:36:28 -0300
commit12e0ad3b7d430cebee61fc84e1f6abb6502f99e9 (patch)
treeb078dd3dd5c1ffa08311032d5cf1119d0e2cfbaa
parentb9705b7322a6ffbb1da6279e262c3a081b2aec93 (diff)
downloadglibc-azanella/pthread-multiple-fixes.tar.gz
nptl: Remove INVALID_TD_Pazanella/pthread-multiple-fixes
It is not used anymore.
-rw-r--r--sysdeps/nptl/pthreadP.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdeps/nptl/pthreadP.h b/sysdeps/nptl/pthreadP.h
index 6427a11cd2..2c053428d1 100644
--- a/sysdeps/nptl/pthreadP.h
+++ b/sysdeps/nptl/pthreadP.h
@@ -238,11 +238,6 @@ libc_hidden_proto (__pthread_tpp_change_priority)
extern int __pthread_current_priority (void);
libc_hidden_proto (__pthread_current_priority)
-/* This will not catch all invalid descriptors but is better than
- nothing. And if the test triggers the thread descriptor is
- guaranteed to be invalid. */
-#define INVALID_TD_P(pd) __builtin_expect ((pd)->tid <= 0, 0)
-
extern void __pthread_unwind (__pthread_unwind_buf_t *__buf)
__cleanup_fct_attribute __attribute ((__noreturn__))
#if !defined SHARED && !IS_IN (libpthread)