diff --git a/arch/arm/src/stm32l4/stm32l4xrxx_dma.c b/arch/arm/src/stm32l4/stm32l4xrxx_dma.c index 1554b8eb40..55f5b46bb3 100644 --- a/arch/arm/src/stm32l4/stm32l4xrxx_dma.c +++ b/arch/arm/src/stm32l4/stm32l4xrxx_dma.c @@ -1096,6 +1096,7 @@ void stm32l4_dmafree(DMA_HANDLE handle) dmainfo("Free g_dmach[%d] CTRL=%d CH=%d\n", dmachan - g_dmach, controller, dmachan->chan); + UNUSED(controller); /* Release the channel */