From dea251783a8cdc12cdeb27655dd159e56a416176 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 8 Apr 2017 08:14:11 -0600 Subject: [PATCH] pthread.h: Remove duplicate, possible erroneous definitino of PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes. --- include/pthread.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/pthread.h b/include/pthread.h index a75cd9e901..225a7ef8b0 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -354,10 +354,6 @@ typedef int pthread_rwlockattr_t; PTHREAD_COND_INITIALIZER, \ 0, 0} -#define PTHREAD_MUTEX_INITIALIZER {NULL, SEM_INITIALIZER(1), -1, \ - __PTHREAD_MUTEX_DEFAULT_FLAGS, \ - PTHREAD_MUTEX_DEFAULT, 0} - #ifdef CONFIG_PTHREAD_CLEANUP /* This type describes the pthread cleanup callback (non-standard) */