diff mbox series

[6/7] target/xtensa: drop dump_state helper

Message ID 20190114074855.16891-7-jcmvbkbc@gmail.com
State New
Headers show
Series target/xtensa: group helpers by functionality | expand

Commit Message

Max Filippov Jan. 14, 2019, 7:48 a.m. UTC
Drop unused helper dump_state from op_helper.c

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

Patch

diff --git a/target/xtensa/helper.h b/target/xtensa/helper.h
index 2ebba0b2c2bf..89eb97e26514 100644
--- a/target/xtensa/helper.h
+++ b/target/xtensa/helper.h
@@ -15,7 +15,6 @@  DEF_HELPER_2(movsp, void, env, i32)
 #ifndef CONFIG_USER_ONLY
 DEF_HELPER_1(simcall, void, env)
 #endif
-DEF_HELPER_1(dump_state, void, env)
 
 #ifndef CONFIG_USER_ONLY
 DEF_HELPER_3(waiti, void, env, i32, i32)
diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c
index d3e61e22fe82..b0ef828f9ae5 100644
--- a/target/xtensa/op_helper.c
+++ b/target/xtensa/op_helper.c
@@ -93,17 +93,6 @@  void xtensa_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr,
                                   addr);
 }
 
-#endif
-
-void HELPER(dump_state)(CPUXtensaState *env)
-{
-    XtensaCPU *cpu = xtensa_env_get_cpu(env);
-
-    cpu_dump_state(CPU(cpu), stderr, fprintf, 0);
-}
-
-#ifndef CONFIG_USER_ONLY
-
 void HELPER(update_ccount)(CPUXtensaState *env)
 {
     uint64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);