Skip to content
Commit af4527e1 authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Henrik Brix Andersen
Browse files

style: subsys: adjust `return` usage in `void functions`



For code clarity, this commit adjusts the use of `return` statements
in functions with a void return type as follows:
- Transform `return foo();` into separate statements:
  `foo();`
  `return;`
- Remove unnecessary `return` statements when
  they don't affect control flow.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 44ba8a54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment