diff --git a/kernel/thread.c b/kernel/thread.c index 89972cd9e34..69728a403d9 100644 --- a/kernel/thread.c +++ b/kernel/thread.c @@ -355,7 +355,7 @@ void z_impl_k_thread_start(k_tid_t thread) static inline void z_vrfy_k_thread_start(k_tid_t thread) { K_OOPS(K_SYSCALL_OBJ(thread, K_OBJ_THREAD)); - return z_impl_k_thread_start(thread); + z_impl_k_thread_start(thread); } #include #endif /* CONFIG_USERSPACE */