diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-04-30 00:38:52 -0700 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-30 16:06:18 +0300 |
commit | 553029351bac9f5b4f9ea72793e55f02e7677ec2 (patch) | |
tree | 2f2fa0caa3c84f72bb0e4dc711976ab106700578 /target-openrisc | |
parent | 4d850406a859d3a5dcfca74eb9caa76ccc064ab3 (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>
Diffstat (limited to 'target-openrisc')
-rw-r--r-- | target-openrisc/cpu.h | 5 |
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 */ |