提交 b133b09a 编写于 作者: P Peter Crosthwaite 提交者: Michael Tokarev

microblaze: cpu: Remote unused cpu_get_pc

This function is not used by anything. Remove.
Signed-off-by: NPeter Crosthwaite <crosthwaite.peter@gmail.com>
Reviewed-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 19191a6b
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册