[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 42/42] openrisc: cpu: Remove unused cpu_get_pc
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 42/42] openrisc: cpu: Remove unused cpu_get_pc |
Date: |
Thu, 30 Apr 2015 16:10:17 +0300 |
From: Peter Crosthwaite <address@hidden>
This function is not used by anything. Remove.
Signed-off-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
target-openrisc/cpu.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/target-openrisc/cpu.h b/target-openrisc/cpu.h
index b25324b..9e23cd0 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 */
--
2.1.4
- [Qemu-trivial] [PULL 36/42] i440fx-test: remove ARRAY_SIZE redefinition, (continued)
[Qemu-trivial] [PULL 00/42] Trivial patches for 2015-04-30, Michael Tokarev, 2015/04/30