From: Peter Crosthwaite Date: Sun, 26 Apr 2015 19:10:21 +0000 (-0700) Subject: microblaze: cpu: Remote unused cpu_get_pc X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b133b09a9d8ae280bba279a1aba9af73a805e198;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git microblaze: cpu: Remote unused cpu_get_pc This function is not used by anything. Remove. Signed-off-by: Peter Crosthwaite Reviewed-by: Edgar E. Iglesias Reviewed-by: Alex Bennée Signed-off-by: Michael Tokarev --- diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 7d0622773..2c18b49df 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -333,11 +333,6 @@ static inline int cpu_interrupts_enabled(CPUMBState *env) #include "exec/cpu-all.h" -static inline target_ulong cpu_get_pc(CPUMBState *env) -{ - return env->sregs[SR_PC]; -} - static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc, target_ulong *cs_base, int *flags) {