aboutsummaryrefslogtreecommitdiff
path: root/target/moxie/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/moxie/cpu.h')
-rw-r--r--target/moxie/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/moxie/cpu.h b/target/moxie/cpu.h
index 275fb9bfbb..b9f5635e50 100644
--- a/target/moxie/cpu.h
+++ b/target/moxie/cpu.h
@@ -90,11 +90,6 @@ typedef struct MoxieCPU {
CPUMoxieState env;
} MoxieCPU;
-static inline MoxieCPU *moxie_env_get_cpu(CPUMoxieState *env)
-{
- return container_of(env, MoxieCPU, env);
-}
-
#define ENV_OFFSET offsetof(MoxieCPU, env)
void moxie_cpu_do_interrupt(CPUState *cs);