Remove unused i variable in emu/nanos6/breakdown.c

This commit is contained in:
Rodrigo Arias 2023-03-24 19:24:36 +01:00 committed by Rodrigo Arias Mallo
parent 6711afdb58
commit cc09920c80

View File

@ -77,7 +77,6 @@ model_nanos6_breakdown_create(struct emu *emu)
return -1; return -1;
} }
int64_t i = 0;
for (struct cpu *cpu = sys->cpus; cpu; cpu = cpu->next) { for (struct cpu *cpu = sys->cpus; cpu; cpu = cpu->next) {
if (cpu->is_virtual) if (cpu->is_virtual)
continue; continue;
@ -89,8 +88,6 @@ model_nanos6_breakdown_create(struct emu *emu)
err("create_cpu failed"); err("create_cpu failed");
return -1; return -1;
} }
i++;
} }
return 0; return 0;