kernel: Remove unnecessary old code
_sem_give_non_preemptible is non preemptible and no need to move thread to ready queue for any real use case. Remove old code. This is also not public API Signed-off-by: Punit Vara <punit.vara@intel.com>
This commit is contained in:
parent
2f4e987945
commit
6ce863763d
|
@ -135,9 +135,6 @@ void _sem_give_non_preemptible(struct k_sem *sem)
|
|||
return;
|
||||
}
|
||||
|
||||
_abort_thread_timeout(thread);
|
||||
|
||||
_ready_thread(thread);
|
||||
_set_thread_return_value(thread, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue