summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--target-openrisc/cpu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
index b25324bc89..9e23cd0500 100644
--- a/target-openrisc/cpu.h
+++ b/target-openrisc/cpu.h
@@ -415,9 +415,4 @@ static inline int cpu_mmu_index(CPUOpenRISCState *env)
 
 #include "exec/exec-all.h"
 
-static inline target_ulong cpu_get_pc(CPUOpenRISCState *env)
-{
-    return env->pc;
-}
-
 #endif /* CPU_OPENRISC_H */