732424f065
Change the common "init with 0" + "give" idiom to "init with 1". This won't change the behavior or performance, but should decrease the size ever so slightly. This change has been performed mechanically with the following Coccinelle script: @@ expression SEM; expression LIMIT; expression TIMEOUT; @@ - k_sem_init(SEM, 0, LIMIT); - k_sem_give(SEM); + k_sem_init(SEM, 1, LIMIT); Signed-off-by: Leandro Pereira <leandro.pereira@intel.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Kconfig.cmsdk_apb | ||
Kconfig.qmsi | ||
Kconfig.sam | ||
Kconfig.stm32 | ||
Makefile | ||
iwdg_stm32.c | ||
iwdg_stm32.h | ||
wdog_cmsdk_apb.c | ||
wdt_qmsi.c | ||
wdt_sam.c |