target-mips: Silence unused function warning

This commit is contained in:
Lioncash 2018-02-25 21:47:22 -05:00
parent 1547048a22
commit b5e765d562
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -570,7 +570,7 @@ static bool mips_vpe_is_wfi(MIPSCPU *c)
return cpu->halted && mips_vpe_active(env); return cpu->halted && mips_vpe_active(env);
} }
static bool mips_vp_is_wfi(MIPSCPU *c) static QEMU_UNUSED_FUNC bool mips_vp_is_wfi(MIPSCPU *c)
{ {
CPUState *cpu = CPU(c); CPUState *cpu = CPU(c);
CPUMIPSState *env = &c->env; CPUMIPSState *env = &c->env;