mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 04:38:10 +00:00
nxsem_init(), nxsem_destroy(), nxmutex_init() and nxmutex_destroy()
always return OK, so checking the result only leaves dead code: the
compiler cannot remove it, because these are cross-translation-unit calls
and the nxrmutex_destroy() test is duplicated into every inlined call
site.
Apply the convention already established in commit
|
||
|---|---|---|
| .. | ||
| alt1250.c | ||
| alt1250.h | ||
| altcom_cmd.h | ||
| altcom_cmd_log.h | ||
| altcom_cmd_sms.h | ||
| altcom_cmd_sock.h | ||
| altcom_errno.c | ||
| altcom_errno.h | ||
| altcom_hdlr.c | ||
| altcom_hdlr.h | ||
| altcom_hdlr_firmware.c | ||
| altcom_hdlr_firmware.h | ||
| altcom_hdlr_log.c | ||
| altcom_hdlr_log.h | ||
| altcom_hdlr_net.c | ||
| altcom_hdlr_net.h | ||
| altcom_hdlr_other.c | ||
| altcom_hdlr_other.h | ||
| altcom_hdlr_pdn.c | ||
| altcom_hdlr_pdn.h | ||
| altcom_hdlr_pin.c | ||
| altcom_hdlr_pin.h | ||
| altcom_hdlr_psave.c | ||
| altcom_hdlr_psave.h | ||
| altcom_hdlr_radio.c | ||
| altcom_hdlr_radio.h | ||
| altcom_hdlr_sim.c | ||
| altcom_hdlr_sim.h | ||
| altcom_hdlr_sms.c | ||
| altcom_hdlr_sms.h | ||
| altcom_hdlr_socket.c | ||
| altcom_hdlr_socket.h | ||
| altcom_lwm2m_hdlr.c | ||
| altcom_lwm2m_hdlr.h | ||
| altcom_pkt.c | ||
| altcom_pkt.h | ||
| altmdm.c | ||
| altmdm.h | ||
| altmdm_event.c | ||
| altmdm_event.h | ||
| altmdm_spi.c | ||
| altmdm_spi.h | ||
| altmdm_timer.c | ||
| altmdm_timer.h | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||