From 1a0f5dec180579029e543d391de9c6bca5b33511 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 25 Oct 2019 13:10:40 -0600 Subject: [PATCH] arch/arm/src/stm32l4/stm32l4xrxx_dma.c: Eliminate a new warning found in build testing. --- arch/arm/src/stm32l4/stm32l4xrxx_dma.c | 1 + 1 file changed, 1 insertion(+) 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 */