kernel: Remove unused z_ready_thread_locked()
Removing the routine z_ready_thread_locked() as it is not used anywhere. It was a leftover artefact from development that previously escaped cleanup. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
parent
f7e130f982
commit
c70a619a2f
2 changed files with 0 additions and 8 deletions
|
@ -60,7 +60,6 @@ void z_reset_time_slice(struct k_thread *curr);
|
||||||
void z_sched_ipi(void);
|
void z_sched_ipi(void);
|
||||||
void z_sched_start(struct k_thread *thread);
|
void z_sched_start(struct k_thread *thread);
|
||||||
void z_ready_thread(struct k_thread *thread);
|
void z_ready_thread(struct k_thread *thread);
|
||||||
void z_ready_thread_locked(struct k_thread *thread);
|
|
||||||
void z_requeue_current(struct k_thread *curr);
|
void z_requeue_current(struct k_thread *curr);
|
||||||
struct k_thread *z_swap_next_thread(void);
|
struct k_thread *z_swap_next_thread(void);
|
||||||
void z_thread_abort(struct k_thread *thread);
|
void z_thread_abort(struct k_thread *thread);
|
||||||
|
|
|
@ -389,13 +389,6 @@ static void ready_thread(struct k_thread *thread)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void z_ready_thread_locked(struct k_thread *thread)
|
|
||||||
{
|
|
||||||
if (thread_active_elsewhere(thread) == NULL) {
|
|
||||||
ready_thread(thread);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void z_ready_thread(struct k_thread *thread)
|
void z_ready_thread(struct k_thread *thread)
|
||||||
{
|
{
|
||||||
K_SPINLOCK(&_sched_spinlock) {
|
K_SPINLOCK(&_sched_spinlock) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue