Richard Henderson <richard.hender...@linaro.org> writes:
> The functions generated by these macros are unused. > > Acked-by: Max Filippov <jcmvb...@gmail.com> > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> > --- > target/xtensa/cpu.h | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h > index b363ffcf10..f5a7ea48bb 100644 > --- a/target/xtensa/cpu.h > +++ b/target/xtensa/cpu.h > @@ -685,10 +685,6 @@ static inline uint32_t > xtensa_replicate_windowstart(CPUXtensaState *env) > } > > /* MMU modes definitions */ > -#define MMU_MODE0_SUFFIX _ring0 > -#define MMU_MODE1_SUFFIX _ring1 > -#define MMU_MODE2_SUFFIX _ring2 > -#define MMU_MODE3_SUFFIX _ring3 > #define MMU_USER_IDX 3 > > static inline int cpu_mmu_index(CPUXtensaState *env, bool ifetch) -- Alex Bennée