qom/cpu: Silence an unused variable warning

This commit is contained in:
Lioncash 2018-03-03 21:37:04 -05:00
parent 4964bdcc29
commit 0f4ebf07d8
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -155,7 +155,6 @@ void cpu_reset(CPUState *cpu)
static void cpu_common_reset(CPUState *cpu)
{
CPUClass *cc = CPU_GET_CLASS(cpu->uc, cpu);
int i;
if (qemu_loglevel_mask(CPU_LOG_RESET)) {
qemu_log("CPU Reset (CPU %d)\n", cpu->cpu_index);