Skip to content

Commit

Permalink
dmaengine: dw-edma: Remove an unused variable
Browse files Browse the repository at this point in the history
'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>
  • Loading branch information
Christophe JAILLET authored and Vinod Koul committed Oct 18, 2021
1 parent d59f703 commit 981703a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/dw-edma/dw-edma-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 981703a

Please sign in to comment.