aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk18/files/patch-main_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk18/files/patch-main_lock.c')
-rw-r--r--net/asterisk18/files/patch-main_lock.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/asterisk18/files/patch-main_lock.c b/net/asterisk18/files/patch-main_lock.c
deleted file mode 100644
index 019735f7079f..000000000000
--- a/net/asterisk18/files/patch-main_lock.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- main/lock.c.orig 2020-07-09 15:39:17 UTC
-+++ main/lock.c
-@@ -689,9 +689,6 @@ int __ast_rwlock_init(int tracking, const char *filena
- #endif /* DEBUG_THREADS */
-
- 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);
-