mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 02:53:49 +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 | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| u-blox.c | ||