openrisc: cpu: Remove unused cpu_get_pc
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Thu, 30 Apr 2015 07:38:52 +0000 (00:38 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Apr 2015 13:06:18 +0000 (16:06 +0300)
This function is not used by anything. Remove.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target-openrisc/cpu.h

index b25324b..9e23cd0 100644 (file)
@@ -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 */