From 212988421f4466b470aeb379d9a6173a5dc90140 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 29 Dec 2024 17:29:02 -0700 Subject: [PATCH] mcpx: Remove set but not used count variable --- hw/xbox/mcpx/dsp/dsp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xbox/mcpx/dsp/dsp.c b/hw/xbox/mcpx/dsp/dsp.c index 2a08cbf320..d1e3b2a9b3 100644 --- a/hw/xbox/mcpx/dsp/dsp.c +++ b/hw/xbox/mcpx/dsp/dsp.c @@ -166,7 +166,6 @@ void dsp_run(DSPState* dsp, int cycles) if (dsp->save_cycles <= 0) return; - int count = 0; int dma_timer = 0; while (dsp->save_cycles > 0) @@ -174,7 +173,6 @@ void dsp_run(DSPState* dsp, int cycles) dsp56k_execute_instruction(&dsp->core); dsp->save_cycles -= dsp->core.instr_cycle; dsp->core.cycle_count++; - count++; if (dsp->dma.control & DMA_CONTROL_RUNNING) { dma_timer++;