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:
parent
19ee9d7ddb
commit
80a728da3d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue