mirror of
https://github.com/apache/nuttx.git
synced 2026-09-29 18:45:22 +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
|
||
|---|---|---|
| .. | ||
| nx | ||
| nxfonts | ||
| nxglib | ||
| nxmu | ||
| nxtk | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Makefile | ||
| nxcontext.h | ||