diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-06-01 14:39:26 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-02 16:58:21 +0000 |
commit | e5dc5e7ae3679f92e3982be3dd294ce9e3c8b597 (patch) | |
tree | 52ceebdaf09fc7e84690bc3b5a8cf786a91645d7 /include/task.h | |
parent | bc8dd35b3a0d5b24ca5df78ab9b308f2cf480a03 (diff) | |
download | chrome-ec-e5dc5e7ae3679f92e3982be3dd294ce9e3c8b597.tar.gz |
task: change task_set_event return type to void
No implementation does nothing other than return 0 on task_set_event(),
change the return type to void so that the API is clear.
BRANCH=none
BUG=none
TEST=cq dry run
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: I88b20f53aa6dffa291ce78f4776888b21985f57f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3683769
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/task.h')
-rw-r--r-- | include/task.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/task.h b/include/task.h index 4e0ff04697..0343644437 100644 --- a/include/task.h +++ b/include/task.h @@ -149,9 +149,8 @@ void set_int_mask(uint32_t val); * * @param tskid Task to set event for * @param event Event bitmap to set (TASK_EVENT_*) - * @return The bitmap of events which occurred if wait!=0, else 0. */ -uint32_t task_set_event(task_id_t tskid, uint32_t event); +void task_set_event(task_id_t tskid, uint32_t event); /** * Wake a task. This sends it the TASK_EVENT_WAKE event. |