From 20393b29bb650a88869c34dbc3ceaaf1796b4891 Mon Sep 17 00:00:00 2001 From: Dino Li Date: Thu, 7 Jan 2021 10:45:16 +0800 Subject: riscv-rv32i/task: Remove the remove_me function BUG=none BRANCH=none TEST=buildall. Signed-off-by: Dino Li Change-Id: I2cd176556f2294de304eca3d2e3d29f68cff85dc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2531769 Reviewed-by: Jett Rink Reviewed-by: Aseda Aboagye Commit-Queue: Aseda Aboagye --- core/riscv-rv32i/task.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'core/riscv-rv32i/task.c') 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); -- cgit v1.2.1