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:
parent
39ed1417d8
commit
e22dffba8e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue