OSDN Git Service

dmaengine: dw-edma: Remove an unused variable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Oct 2021 06:29:29 +0000 (08:29 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 18 Oct 2021 06:41:08 +0000 (12:11 +0530)
'head' is unused, remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/46e071be21fbc5ac5c35d4796a7e4249e94c3a77.1633847306.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-edma/dw-edma-core.c

index 5328992..468d109 100644 (file)
@@ -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 */