mcpx/dsp: Drop some dead code

This commit is contained in:
Matt Borgerson 2025-02-17 01:49:29 -07:00
parent 0f9ae544d0
commit 7079f3dcf9
1 changed files with 0 additions and 8 deletions

View File

@ -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;