diff options
Diffstat (limited to 'nptl/pthread_rwlock_init.c')
-rw-r--r-- | nptl/pthread_rwlock_init.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c index 23ee6c659d..99ab5e35cb 100644 --- a/nptl/pthread_rwlock_init.c +++ b/nptl/pthread_rwlock_init.c @@ -58,15 +58,8 @@ __pthread_rwlock_init (rwlock, attr) If the pshared value is in locking functions XORed with avail we get the expected result. */ -#ifdef __ASSUME_PRIVATE_FUTEX rwlock->__data.__shared = (iattr->pshared == PTHREAD_PROCESS_PRIVATE ? 0 : FUTEX_PRIVATE_FLAG); -#else - rwlock->__data.__shared = (iattr->pshared == PTHREAD_PROCESS_PRIVATE - ? 0 - : THREAD_GETMEM (THREAD_SELF, - header.private_futex)); -#endif return 0; } |