pthread mutex: Remove bogus DEBUGASSERT. Problem noted by Jussi Kivilinna

This commit is contained in:
Gregory Nutt 2017-06-01 06:28:23 -06:00
parent 06edfae133
commit 0fe9c2f3f9

View File

@ -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.