From: Adhemerval Zanella Date: Mon, 23 Aug 2021 19:02:30 +0000 (-0300) Subject: nptl: Remove INVALID_TD_P X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fazanella%2Fpthread-multiple-fixes;p=thirdparty%2Fglibc.git nptl: Remove INVALID_TD_P Since it is not used anymore. --- diff --git a/sysdeps/nptl/pthreadP.h b/sysdeps/nptl/pthreadP.h index 9012bcc09b..d5bf7254af 100644 --- a/sysdeps/nptl/pthreadP.h +++ b/sysdeps/nptl/pthreadP.h @@ -229,11 +229,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)