summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_condwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pthread_condwait.c')
-rw-r--r--nuttx/sched/pthread_condwait.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nuttx/sched/pthread_condwait.c b/nuttx/sched/pthread_condwait.c
index 986349137..bf0164d2d 100644
--- a/nuttx/sched/pthread_condwait.c
+++ b/nuttx/sched/pthread_condwait.c
@@ -72,11 +72,10 @@
****************************************************************************/
/****************************************************************************
- * Function: int pthread_cond_wait
+ * Name: int pthread_cond_wait
*
* Description:
- * A thread can wait for a condition variable to be
- * signalled or broadcast.
+ * A thread can wait for a condition variable to be signalled or broadcast.
*
* Parameters:
* None
@@ -107,7 +106,6 @@ int pthread_cond_wait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex)
{
ret = EPERM;
}
-
else
{
/* Give up the mutex */