style: kernel: remove unnecessary return
statements
For code clarity, remove unnecessary `return` statements in functions with a void return type they don't affect control flow. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
This commit is contained in:
parent
9955b0bd6f
commit
5c8a2c0dbf
1 changed files with 1 additions and 1 deletions
|
@ -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 <zephyr/syscalls/k_thread_start_mrsh.c>
|
||||
#endif /* CONFIG_USERSPACE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue