zephyr/lib/smf
Pisit Sawangvonganan 94b752d2b4 lib: smf: use `while (true)` in `get_child_of` for better clarity
Replace the condition-less `for` loop (`;;`) in `get_child_of` with
a `while (true)` loop and remove the redundant `return NULL;`
at the end, which is never reached.

This change aims to enhance readability since `while (true)` is better
suited for this scenario.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-07-01 16:08:05 -04:00
..
CMakeLists.txt
Kconfig Lib: SMF: Add initial transition and smf_set_handled() 2024-03-04 22:16:40 +01:00
smf.c lib: smf: use `while (true)` in `get_child_of` for better clarity 2024-07-01 16:08:05 -04:00