aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-04-30 00:38:52 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:06:18 +0300
commit553029351bac9f5b4f9ea72793e55f02e7677ec2 (patch)
tree2f2fa0caa3c84f72bb0e4dc711976ab106700578
parent4d850406a859d3a5dcfca74eb9caa76ccc064ab3 (diff)
openrisc: cpu: Remove unused cpu_get_pc
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>
-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 */