Patchwork [08/12] target-lm32: remove dead code

login
register
mail settings
Submitter Michael Walle
Date March 6, 2013, 10 p.m.
Message ID <1362607209-12232-9-git-send-email-michael@walle.cc>
Download mbox | patch
Permalink /patch/225669/
State New
Headers show

Comments

Michael Walle - March 6, 2013, 10 p.m.
Signed-off-by: Michael Walle <michael@walle.cc>
---
 target-lm32/cpu.h |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

Patch

diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index 6948d0e..03db008 100644
--- a/target-lm32/cpu.h
+++ b/target-lm32/cpu.h
@@ -232,18 +232,8 @@  static inline void cpu_set_tls(CPULM32State *env, target_ulong newtls)
 {
 }
 
-static inline int cpu_interrupts_enabled(CPULM32State *env)
-{
-    return env->ie & IE_IE;
-}
-
 #include "exec/cpu-all.h"
 
-static inline target_ulong cpu_get_pc(CPULM32State *env)
-{
-    return env->pc;
-}
-
 static inline void cpu_get_tb_cpu_state(CPULM32State *env, target_ulong *pc,
                                         target_ulong *cs_base, int *flags)
 {