style: tests: 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:
Pisit Sawangvonganan 2024-09-18 15:08:30 +07:00 committed by Henrik Brix Andersen
commit 9ae9873f12
3 changed files with 2 additions and 5 deletions

View file

@ -1007,7 +1007,7 @@ void z_impl_check_syscall_context(void)
static inline void z_vrfy_check_syscall_context(void)
{
return z_impl_check_syscall_context();
z_impl_check_syscall_context();
}
#include <zephyr/syscalls/check_syscall_context_mrsh.c>