From f96f176c303a73973d7cf5ddf1abf86f534a6e39 Mon Sep 17 00:00:00 2001 From: Dawid Niedzwiecki Date: Fri, 6 Nov 2020 09:20:56 +0100 Subject: task_set_event: remove the wait argument There is an option in the task_set_event function which force the calling task to wait for an event. However, the option is never used thus remove it. This also will help in the Zephyr migration process. BUG=b:172360521 BRANCH=none TEST=make buildall Signed-off-by: Dawid Niedzwiecki Change-Id: Ic152fd3d6862d487bcc0024c48d136556c0b81bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2521599 Reviewed-by: Jett Rink Reviewed-by: Tom Hughes Reviewed-by: Jack Rosenthal Commit-Queue: Jack Rosenthal --- common/host_command_pd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/host_command_pd.c') diff --git a/common/host_command_pd.c b/common/host_command_pd.c index 869cad4493..d46220a7a6 100644 --- a/common/host_command_pd.c +++ b/common/host_command_pd.c @@ -51,12 +51,12 @@ void host_command_pd_send_status(enum pd_charge_state new_chg_state) charge_state = new_chg_state; #endif /* Wake PD HC task to send status */ - task_set_event(TASK_ID_PDCMD, TASK_EVENT_EXCHANGE_PD_STATUS, 0); + task_set_event(TASK_ID_PDCMD, TASK_EVENT_EXCHANGE_PD_STATUS); } void host_command_pd_request_hibernate(void) { - task_set_event(TASK_ID_PDCMD, TASK_EVENT_HIBERNATING, 0); + task_set_event(TASK_ID_PDCMD, TASK_EVENT_HIBERNATING); } #ifdef CONFIG_HOSTCMD_PD -- cgit v1.2.1