summaryrefslogtreecommitdiff
path: root/net/asterisk13/files/patch-main__lock.c
blob: 32101d0f3514e01897ba5dba23ba4055beeb60f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- main/lock.c.orig	2014-03-25 15:47:17 UTC
+++ main/lock.c
@@ -691,10 +691,6 @@ int __ast_rwlock_init(int tracking, cons
 
 	pthread_rwlockattr_init(&attr);
 
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
-	pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
-#endif
-
 	res = pthread_rwlock_init(&t->lock, &attr);
 	pthread_rwlockattr_destroy(&attr);
 	return res;