diff mbox series

dmaengine: dw-edma: Remove an unused variable

Message ID 46e071be21fbc5ac5c35d4796a7e4249e94c3a77.1633847306.git.christophe.jaillet@wanadoo.fr (mailing list archive)
State Accepted
Commit 981703aae3b1965896caaef95f25886ec8007744
Headers show
Series dmaengine: dw-edma: Remove an unused variable | expand

Commit Message

Christophe JAILLET Oct. 10, 2021, 6:29 a.m. UTC
'head' is unused, remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/dma/dw-edma/dw-edma-core.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Vinod Koul Oct. 18, 2021, 6:41 a.m. UTC | #1
On 10-10-21, 08:29, Christophe JAILLET wrote:
> 'head' is unused, remove it.

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/dma/dw-edma/dw-edma-core.c b/drivers/dma/dw-edma/dw-edma-core.c
index 53289927dd0d..468d1097a1ec 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 */