Remove unused i variable in emu/nanos6/breakdown.c
This commit is contained in:
parent
6711afdb58
commit
cc09920c80
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user