k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()

This function has a void return value, so this attribute doesn't apply
to it.
master
Lioncash 2021-04-12 10:17:35 +07:00
parent 26d60014d0
commit 0fb3773924
1 changed files with 1 additions and 1 deletions

@ -402,7 +402,7 @@ public:
return wait_cancelled; return wait_cancelled;
} }
[[nodiscard]] void ClearWaitCancelled() { void ClearWaitCancelled() {
wait_cancelled = false; wait_cancelled = false;
} }