From 93100f67c723f5812d0fa9a026208cf320ef46e6 Mon Sep 17 00:00:00 2001 From: Peter Crosthwaite Date: Sun, 26 Apr 2015 12:10:24 -0700 Subject: [PATCH] microblaze: cpu: delete unused cpu_interrupts_enabled This function is unused. Remove. Signed-off-by: Peter Crosthwaite Signed-off-by: Michael Tokarev --- target-microblaze/cpu.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index d3895975d8..4ea04acc4d 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -319,11 +319,6 @@ static inline int cpu_mmu_index (CPUMBState *env) int mb_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int rw, int mmu_idx); -static inline int cpu_interrupts_enabled(CPUMBState *env) -{ - return env->sregs[SR_MSR] & MSR_IE; -} - #include "exec/cpu-all.h" static inline void cpu_get_tb_cpu_state(CPUMBState *env, target_ulong *pc,