openrisc: cpu: Remove unused cpu_get_pc
PATCH 1/1 openrisc: cpu: Remove unused cpu_get_pc
This function is not used by anything. Remove.
Signed-off-by Peter Crosthwaite <[email protected]>
--- target-openrisc/cpu.h | 5 ----- 1 file changed, 5 deletions(-)
target-openrisc/cpu.h +0 -5
@@ -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 */
Signature · 1 line
1.9.1
Quoted 12 lines · Peter Crosthwaite
This function is not used by anything. Remove.
Signed-off-by Peter Crosthwaite <[email protected]>--- target-openrisc/cpu.h | 5 ----- 1 file changed, 5 deletions(-)target-openrisc/cpu.h +0
-0
target-openrisc/cpu.h static inline int cpu_mmu_index(CPUOpenRISCState *env) · line 418
Quoted 9 lines
target-openrisc/cpu.h +0
-5@@ -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 */
Are you going to clean up the the microblaze one as well?
Reviewed-by Alex Bennée <[email protected]>
Signature · 1 line
Alex Bennée