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:
parent
5c8a2c0dbf
commit
9ae9873f12
3 changed files with 2 additions and 5 deletions
|
@ -53,8 +53,6 @@ void z_early_memcpy(void *dst, const void *src, size_t n)
|
|||
*(d_byte++) = *(s_byte++);
|
||||
n--;
|
||||
}
|
||||
|
||||
return (void)dst;
|
||||
}
|
||||
|
||||
__boot_func
|
||||
|
@ -69,7 +67,6 @@ void z_early_memset(void *dst, int c, size_t n)
|
|||
*(d_byte++) = c_byte;
|
||||
n--;
|
||||
}
|
||||
return (void)dst;
|
||||
}
|
||||
|
||||
void *relocate_code_setup(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue