dmaengine: Remove dma_set_tx_state

commit 877254351db362b1c9383dcf6e5d163ce4204175 Intel-BKC.

Nothing calls this anymore.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Signed-off-by: Chen Zhuo <sagazchen@tencent.com>
Signed-off-by: Xinghui Li <korantli@tencent.com>
This commit is contained in:
Ben Walker 2021-12-02 10:50:38 -07:00 committed by Jianping Liu
parent 19ee9d7ddb
commit 80a728da3d
1 changed files with 0 additions and 9 deletions

View File

@ -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)