diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2022-04-08 21:15:48 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-08 23:13:11 +0000 |
commit | 29aabfe8e3d3573d8702f27bb8948118bd8b78ef (patch) | |
tree | c8e198aeced488811e9951d016654aada2e1e158 /include/task.h | |
parent | 09259cf96c22f2df07e09ad384756f853e21dc40 (diff) | |
download | chrome-ec-29aabfe8e3d3573d8702f27bb8948118bd8b78ef.tar.gz |
zephyr: shim: drop task_get_zephyr_tid
The function does not seem to be used anymore, let's drop it.
BRANCH=none
BUG=none
TEST=zmake -j8 testall
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Change-Id: If2db5bab9fca864904ef08ab2b65bf1f9aca2680
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3578703
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/task.h')
-rw-r--r-- | include/task.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/task.h b/include/task.h index b23fe869b1..4e0ff04697 100644 --- a/include/task.h +++ b/include/task.h @@ -469,16 +469,4 @@ struct irq_def { #endif /* CONFIG_COMMON_RUNTIME */ #endif /* !CONFIG_ZEPHYR */ -#if defined(CONFIG_ZEPHYR) && defined(TEST_BUILD) -#include <kernel.h> - -/** - * @brief Get the Zephyr thread ID for the given task - * - * @param cros_tid A valid cros TASK_ID_* entry - * @return The Zephyr thread ID - */ -k_tid_t task_get_zephyr_tid(size_t cros_tid); -#endif /* CONFIG_ZEPHYR && TEST_BUILD */ - #endif /* __CROS_EC_TASK_H */ |