From 6f5793eefc5866feb3b7813821365668eb2a258b Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 28 Jan 2021 08:52:22 +0900 Subject: [PATCH] sched: mqueue: Remove an unnecessary comment in mq_send.c Signed-off-by: Masayuki Ishikawa --- sched/mqueue/mq_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/mqueue/mq_send.c b/sched/mqueue/mq_send.c index d65c09a171..a4e7307e6d 100644 --- a/sched/mqueue/mq_send.c +++ b/sched/mqueue/mq_send.c @@ -113,7 +113,7 @@ int file_mq_send(FAR struct file *mq, FAR const char *msg, size_t msglen, { /* No.. Not in an interrupt handler. Is the message queue FULL? */ - if (msgq->nmsgs >= msgq->maxmsgs) /* Message queue not-FULL? */ + if (msgq->nmsgs >= msgq->maxmsgs) { /* Yes.. the message queue is full. Wait for space to become * available in the message queue.