vchan_dma_desc_free_list() basically open codes vchan_vdesc_fini() in the loop body. One difference is an additional debug message. As this isn't overly useful remove it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/dma/virt-dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/virt-dma.c b/drivers/dma/virt-dma.c index 660267ca5e42..7ba712888ac7 100644 --- a/drivers/dma/virt-dma.c +++ b/drivers/dma/virt-dma.c @@ -122,7 +122,6 @@ void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head) list_move_tail(&vd->node, &vc->desc_allocated); spin_unlock_irqrestore(&vc->lock, flags); } else { - dev_dbg(vc->chan.device->dev, "txd %p: freeing\n", vd); list_del(&vd->node); vc->desc_free(vd); } -- 2.24.0