]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
microblaze: cpu: Remote unused cpu_get_pc
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>
Sun, 26 Apr 2015 19:10:21 +0000 (12:10 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Apr 2015 13:05:48 +0000 (16:05 +0300)
This function is not used by anything. Remove.

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target-microblaze/cpu.h

index 7d06227730da90ae667bc77321609cd391384c75..2c18b49dfff37076b9c42922393ae352338616ae 100644 (file)
@@ -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)
 {