hw/dma/xilinx_axidma: Remove unused stream_halted() function
The stream_halted() function is never used; remove it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
f9b5426fd5
commit
a1fa7992a9
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user