mirror of https://github.com/xqemu/xqemu.git
microblaze: cpu: Remote unused cpu_get_pc
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>
This commit is contained in:
parent
19191a6bc5
commit
b133b09a9d
|
@ -333,11 +333,6 @@ static inline int cpu_interrupts_enabled(CPUMBState *env)
|
||||||
|
|
||||||
#include "exec/cpu-all.h"
|
#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,
|
static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,
|
||||||
target_ulong *cs_base, int *flags)
|
target_ulong *cs_base, int *flags)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue