From: Christophe JAILLET Date: Sun, 10 Oct 2021 06:29:29 +0000 (+0200) Subject: dmaengine: dw-edma: Remove an unused variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=981703aae3b1965896caaef95f25886ec8007744;p=linux.git dmaengine: dw-edma: Remove an unused variable 'head' is unused, remove it. Signed-off-by: Christophe JAILLET Link: https://lore.kernel.org/r/46e071be21fbc5ac5c35d4796a7e4249e94c3a77.1633847306.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/dw-edma/dw-edma-core.c b/drivers/dma/dw-edma/dw-edma-core.c index 53289927dd0d6..468d1097a1ece 100644 --- a/drivers/dma/dw-edma/dw-edma-core.c +++ b/drivers/dma/dw-edma/dw-edma-core.c @@ -249,7 +249,6 @@ static int dw_edma_device_terminate_all(struct dma_chan *dchan) { struct dw_edma_chan *chan = dchan2dw_edma_chan(dchan); int err = 0; - LIST_HEAD(head); if (!chan->configured) { /* Do nothing */