diff --git a/drivers/dma/dmaengine.h b/drivers/dma/dmaengine.h index 2a695a30d334..c31383c9db1d 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)