diff mbox

target-xtensa: drop unused timer_irq helper

Message ID 1478949118-24884-1-git-send-email-jcmvbkbc@gmail.com
State New
Headers show

Commit Message

Max Filippov Nov. 12, 2016, 11:11 a.m. UTC
It's been there from the very beginning and it's been unused since then.
Drop it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 target-xtensa/helper.h    | 1 -
 target-xtensa/op_helper.c | 5 -----
 2 files changed, 6 deletions(-)
diff mbox

Patch

diff --git a/target-xtensa/helper.h b/target-xtensa/helper.h
index 5ea9c5b..6612e76 100644
--- a/target-xtensa/helper.h
+++ b/target-xtensa/helper.h
@@ -18,7 +18,6 @@  DEF_HELPER_1(simcall, void, env)
 DEF_HELPER_1(dump_state, void, env)
 
 DEF_HELPER_3(waiti, void, env, i32, i32)
-DEF_HELPER_3(timer_irq, void, env, i32, i32)
 DEF_HELPER_2(advance_ccount, void, env, i32)
 DEF_HELPER_1(check_interrupts, void, env)
 DEF_HELPER_3(check_atomctl, void, env, i32, i32)
diff --git a/target-xtensa/op_helper.c b/target-xtensa/op_helper.c
index 0a4b214..183b283 100644
--- a/target-xtensa/op_helper.c
+++ b/target-xtensa/op_helper.c
@@ -406,11 +406,6 @@  void HELPER(waiti)(CPUXtensaState *env, uint32_t pc, uint32_t intlevel)
     HELPER(exception)(env, EXCP_HLT);
 }
 
-void HELPER(timer_irq)(CPUXtensaState *env, uint32_t id, uint32_t active)
-{
-    xtensa_timer_irq(env, id, active);
-}
-
 void HELPER(advance_ccount)(CPUXtensaState *env, uint32_t d)
 {
     xtensa_advance_ccount(env, d);