From 7079f3dcf9ee800ec43e894e9e8dbf066a4e1a17 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Mon, 17 Feb 2025 01:49:29 -0700 Subject: [PATCH] mcpx/dsp: Drop some dead code --- hw/xbox/mcpx/dsp/dsp_dma.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/xbox/mcpx/dsp/dsp_dma.c b/hw/xbox/mcpx/dsp/dsp_dma.c index 80cf5a9747..98f7bc3cb7 100644 --- a/hw/xbox/mcpx/dsp/dsp_dma.c +++ b/hw/xbox/mcpx/dsp/dsp_dma.c @@ -24,14 +24,8 @@ #include "dsp_dma_regs.h" #include "dsp_state.h" -// #define DEBUG #ifdef DEBUG -# define DPRINTF(s, ...) printf(s, ## __VA_ARGS__) -#else -# define DPRINTF(s, ...) do { } while (0) -#endif -#ifdef DEBUG const char *buffer_names[] = { "fifo0", /* 0x0 */ "fifo1", /* 0x1 */ @@ -112,8 +106,6 @@ static void dsp_dma_run(DSPDMAState *s) return; } - // DSPState *dsp = container_of(s, DSPState, dma); - while (!(s->next_block & NODE_POINTER_EOL)) { uint32_t addr = s->next_block & NODE_POINTER_VAL; uint32_t block_addr = 0;