From cc09920c8021c8f51d2f8d161fa0e5e2ee9a0408 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 24 Mar 2023 19:24:36 +0100 Subject: [PATCH] Remove unused i variable in emu/nanos6/breakdown.c --- src/emu/nanos6/breakdown.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/emu/nanos6/breakdown.c b/src/emu/nanos6/breakdown.c index 641fa7f..a692395 100644 --- a/src/emu/nanos6/breakdown.c +++ b/src/emu/nanos6/breakdown.c @@ -77,7 +77,6 @@ model_nanos6_breakdown_create(struct emu *emu) return -1; } - int64_t i = 0; for (struct cpu *cpu = sys->cpus; cpu; cpu = cpu->next) { if (cpu->is_virtual) continue; @@ -89,8 +88,6 @@ model_nanos6_breakdown_create(struct emu *emu) err("create_cpu failed"); return -1; } - - i++; } return 0;