dmaengine: virt-dma: remove debug message
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 16 Dec 2019 10:53:22 +0000 (11:53 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 26 Dec 2019 04:34:18 +0000 (10:04 +0530)
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@pengutronix.de>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191216105328.15198-4-s.hauer@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/virt-dma.c

index 660267c..7ba7128 100644 (file)
@@ -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);
                }