Skip to contentSkip to conversation

dmaengine: Remove dma_set_tx_state

PATCH Superseded Ben Walker 1 participant 1 message Jun 22, 2022 dmaengine

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Ben Walker

author
#0 lore raw

PATCH v3 11/15 dmaengine: Remove dma_set_tx_state

Nothing calls this anymore.

---
 drivers/dma/dmaengine.h | 9 ---------
 1 file changed, 9 deletions(-)
drivers/dma/dmaengine.h +0 -9
index 08c7bd7cfc229..7a5203175e6a8 100644
@@ -88,15 +88,6 @@ static inline enum dma_status dma_cookie_status(struct dma_chan *chan,
 	return DMA_IN_PROGRESS;
 }
 
-static inline void dma_set_tx_state(struct dma_tx_state *st,
-	dma_cookie_t last, dma_cookie_t used, u32 residue)
-{
-	if (!st)
-		return;
-
-	st->residue = residue;
-}
-
 static inline void dma_set_residue(struct dma_tx_state *state, u32 residue)
 {
 	if (state)
Signature · 1 line
2.35.1