Skip to content
Commit 5076a83e authored by Anas Nashif's avatar Anas Nashif
Browse files

kernel: semaphore: optimize code



Remove static helper functions used only once and integrate them into
calling functions.
In k_sem_take, return at the end.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 928af3ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment