summaryrefslogtreecommitdiff
path: root/target/nios2/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/nios2/cpu.h')
-rw-r--r--target/nios2/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 5e51f1ae3f..ae6cf1b4d1 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -199,8 +199,6 @@ static inline Nios2CPU *nios2_env_get_cpu(CPUNios2State *env)
return NIOS2_CPU(container_of(env, Nios2CPU, env));
}
-#define ENV_GET_CPU(e) CPU(nios2_env_get_cpu(e))
-
#define ENV_OFFSET offsetof(Nios2CPU, env)
void nios2_tcg_init(void);