projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d85040
)
openrisc: cpu: Remove unused cpu_get_pc
author
Peter Crosthwaite
<crosthwaitepeter@gmail.com>
Thu, 30 Apr 2015 07:38:52 +0000
(
00:38
-0700)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/target-openrisc/cpu.h
b/target-openrisc/cpu.h
index
b25324b
..
9e23cd0
100644
(file)
--- 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 */