summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2021-01-07 10:45:16 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-08 18:50:44 +0000
commit20393b29bb650a88869c34dbc3ceaaf1796b4891 (patch)
treeab0481cb15f274e0534095bcea5daa9fe87bd761
parentb752dc18f6c12c57cc0489dcd490cbde77ea7354 (diff)
downloadchrome-ec-20393b29bb650a88869c34dbc3ceaaf1796b4891.tar.gz
riscv-rv32i/task: Remove the remove_me function
BUG=none BRANCH=none TEST=buildall. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I2cd176556f2294de304eca3d2e3d29f68cff85dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2531769 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r--core/riscv-rv32i/task.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/riscv-rv32i/task.c b/core/riscv-rv32i/task.c
index f7ac6afb1e..cb9532f6dd 100644
--- a/core/riscv-rv32i/task.c
+++ b/core/riscv-rv32i/task.c
@@ -398,18 +398,6 @@ static uint32_t __ram_code __wait_evt(int timeout_us, task_id_t resched)
return evt;
}
-/* TODO: Remove the remove_me function.
- * At the moment "make BOARD=it8xxx2_evb" returns an error
- * "relocation truncated to fit" without it.
- */
-uint32_t __ram_code remove_me(task_id_t tskid)
-{
- task_ *receiver = __task_id_to_ptr(tskid);
-
- ASSERT(receiver);
- return 0;
-}
-
uint32_t __ram_code task_set_event(task_id_t tskid, uint32_t event)
{
task_ *receiver = __task_id_to_ptr(tskid);