From 95123af4e18091977c833cf0d91e1997c7cdf575 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Tue, 22 Apr 2025 19:33:26 -0500 Subject: [PATCH] Remove duplicate `port_realloc` call on double-buffered audio dma --- ports/raspberrypi/audio_dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ports/raspberrypi/audio_dma.c b/ports/raspberrypi/audio_dma.c index 8891684ef3b98..65d96a70b73c9 100644 --- a/ports/raspberrypi/audio_dma.c +++ b/ports/raspberrypi/audio_dma.c @@ -256,7 +256,6 @@ audio_dma_result audio_dma_setup_playback( #endif max_buffer_length); #endif - dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[1], max_buffer_length, true); dma->buffer_length[1] = max_buffer_length; if (dma->buffer[1] == NULL) {