Commit 9fa2df6e authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Vinod Koul
Browse files

dmaengine: ti: omap-dma: Remove variable override in omap_dma_tx_status()



There is no need to fetch local omap_desc since the desc we have is the
correct one already when we need to check the channel status.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190730132029.2971-1-peter.ujfalusi@ti.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 7a09c09c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -860,7 +860,6 @@ out:
		 * accordingly and mark it as completed
		 */
		if (!(ccr & CCR_ENABLE)) {
			struct omap_desc *d = c->desc;
			ret = DMA_COMPLETE;
			omap_dma_start_desc(c);
			vchan_cookie_complete(&d->vd);