sched: mqueue: Remove an unnecessary comment in mq_send.c

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2021-01-28 08:52:22 +09:00 committed by Xiang Xiao
parent 82aae4deb6
commit 6f5793eefc

View File

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