From 0fe9c2f3f9b30ec967f27630b5aeaab327976318 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 1 Jun 2017 06:28:23 -0600 Subject: [PATCH] pthread mutex: Remove bogus DEBUGASSERT. Problem noted by Jussi Kivilinna --- sched/pthread/pthread_mutex.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sched/pthread/pthread_mutex.c b/sched/pthread/pthread_mutex.c index 8b6566b8a2..5a75481a51 100644 --- a/sched/pthread/pthread_mutex.c +++ b/sched/pthread/pthread_mutex.c @@ -115,8 +115,6 @@ static void pthread_mutex_remove(FAR struct pthread_mutex_s *mutex) { FAR struct tcb_s *rtcb = this_task(); - DEBUGASSERT(mutex->flink == NULL); - /* Check if this is a pthread. The main thread may also lock and unlock * mutexes. The main thread, however, does not participate in the mutex * consistency logic.