Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sched: finalize_cancel_locked can early return
The code `SYS_SLIST_FOR_EACH_CONTAINER_SAFE` just for remove work from `pending_cancels`. After removing work successfully, the function can return early. It is unnecessary to iterate continuously. Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
- Loading branch information