* [PATCH v3 11/15] dmaengine: Remove dma_set_tx_state
@ 2022-06-22 18:54 Ben Walker
0 siblings, 0 replies; only message in thread
From: Ben Walker @ 2022-06-22 18:54 UTC (permalink / raw)
To: vkoul; +Cc: dmaengine, linux-kernel
Nothing calls this anymore.
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
---
drivers/dma/dmaengine.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/drivers/dma/dmaengine.h b/drivers/dma/dmaengine.h
index 08c7bd7cfc229..7a5203175e6a8 100644
--- a/drivers/dma/dmaengine.h
+++ b/drivers/dma/dmaengine.h
@@ -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)
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-22 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 18:54 [PATCH v3 11/15] dmaengine: Remove dma_set_tx_state Ben Walker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).