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: Peter Ujfalusi <peter.ujfalusi@ti.com> Link: https://lore.kernel.org/r/20190730132029.2971-1-peter.ujfalusi@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
7a09c09c30
commit
9fa2df6eaf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue