提交 a1fa7992 编写于 作者: P Peter Maydell 提交者: Michael Tokarev

hw/dma/xilinx_axidma: Remove unused stream_halted() function

The stream_halted() function is never used; remove it.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 f9b5426f
...@@ -157,11 +157,6 @@ static inline int stream_running(struct Stream *s) ...@@ -157,11 +157,6 @@ static inline int stream_running(struct Stream *s)
return s->regs[R_DMACR] & DMACR_RUNSTOP; return s->regs[R_DMACR] & DMACR_RUNSTOP;
} }
static inline int stream_halted(struct Stream *s)
{
return s->regs[R_DMASR] & DMASR_HALTED;
}
static inline int stream_idle(struct Stream *s) static inline int stream_idle(struct Stream *s)
{ {
return !!(s->regs[R_DMASR] & DMASR_IDLE); return !!(s->regs[R_DMASR] & DMASR_IDLE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册