zephyr/subsys
Leandro Pereira 732424f065 drivers, net: Clean up semaphore initialization
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>
2017-07-27 15:23:07 -04:00
..
bluetooth Bluetooth: Mesh: Fix advertising thread initialization 2017-07-27 11:38:01 +03:00
console subsys: console: Fix signed vs unsigned char issues. 2017-05-22 08:43:31 -05:00
cpp subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00
debug kernel: remove gdb_server 2017-06-19 14:29:40 -04:00
disk license: add missing licenses and copyright 2017-06-08 10:41:56 -04:00
fs
logging
net drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
shell shell: Adjust arguments when executing a command of different module 2017-06-09 18:54:27 -04:00
usb misc: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
Kconfig subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00
Makefile subsystem: cleanup misc and make cpp a subsystem 2017-07-06 09:13:46 -05:00