aboutsummaryrefslogtreecommitdiff
path: root/target/lm32/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/lm32/cpu.h')
-rw-r--r--target/lm32/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/lm32/cpu.h b/target/lm32/cpu.h
index ad9452eb9f..7fb65fb4b6 100644
--- a/target/lm32/cpu.h
+++ b/target/lm32/cpu.h
@@ -195,11 +195,6 @@ struct LM32CPU {
uint32_t features;
};
-static inline LM32CPU *lm32_env_get_cpu(CPULM32State *env)
-{
- return container_of(env, LM32CPU, env);
-}
-
#define ENV_OFFSET offsetof(LM32CPU, env)
#ifndef CONFIG_USER_ONLY