Skip to contentSkip to conversation

dmaengine: pl330: Remove unused flags

PATCH Applied Harini Katakam 2 participants 2 messages Aug 2, 2022 – Sep 5, 2022 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: pl330: Remove unused flags

txd.flags is unused and need not be updated.

---
 drivers/dma/pl330.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/dma/pl330.c +0 -4
index 09915a5cba3e..0d9257fbdfb0 100644
@@ -2752,7 +2752,6 @@ static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic(
 		return NULL;
 
 	pch->cyclic = true;
-	desc->txd.flags = flags;
 
 	return &desc->txd;
 }
@@ -2804,8 +2803,6 @@ pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst,
 
 	desc->bytes_requested = len;
 
-	desc->txd.flags = flags;
-
 	return &desc->txd;
 }
 
@@ -2889,7 +2886,6 @@ pl330_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
 	}
 
 	/* Return the last desc in the chain */
-	desc->txd.flags = flg;
 	return &desc->txd;
 }
 
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 1 line · Harini Katakam

txd.flags is unused and need not be updated.

Applied, thanks

Signature · 1 line
~Vinod