fs/mqueue/mq_close.c: Remove a redundant assignment

Found by clang-check:

mqueue/mq_close.c:127:21: warning: Value stored to 'rtcb' during its initialization is never read
  FAR struct tcb_s *rtcb = (FAR struct tcb_s *)nxsched_self();
                    ^~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
This commit is contained in:
YAMAMOTO Takashi 2020-07-30 16:58:18 +09:00 committed by Alin Jerpelea
parent 39ed1417d8
commit e22dffba8e
1 changed files with 0 additions and 1 deletions

View File

@ -133,7 +133,6 @@ int nxmq_close(mqd_t mqdes)
sched_lock();
rtcb = (FAR struct tcb_s *)nxsched_self();
DEBUGASSERT(mqdes != NULL && rtcb != NULL && rtcb->group != NULL);
/* Then perform the close operation */