aboutsummaryrefslogtreecommitdiff
path: root/target/cris/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/cris/cpu.h')
-rw-r--r--target/cris/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/cris/cpu.h b/target/cris/cpu.h
index 0746d19f38..e9e4e39a40 100644
--- a/target/cris/cpu.h
+++ b/target/cris/cpu.h
@@ -183,11 +183,6 @@ struct CRISCPU {
CPUCRISState env;
};
-static inline CRISCPU *cris_env_get_cpu(CPUCRISState *env)
-{
- return container_of(env, CRISCPU, env);
-}
-
#define ENV_OFFSET offsetof(CRISCPU, env)
#ifndef CONFIG_USER_ONLY