Skip to content

Commit ddc6dc5

Browse files
authored
Refactor suspend state update comment for clarity
1 parent 31a9804 commit ddc6dc5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/thread.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,6 @@ rt_err_t rt_thread_suspend_to_list(rt_thread_t thread, rt_list_t *susp_list, int
976976
/* Compare the suspend state portion of stat with the new suspend state */
977977
if (stat < new_suspend_state)
978978
{
979-
/* Update if a stricter suspend_flag is requested */
980979
/* Update if suspend_flag is stricter */
981980
_thread_set_suspend_state(thread, suspend_flag);
982981
}

0 commit comments

Comments
 (0)