hw/dma/xilinx_axidma: Remove unused stream_halted() function
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 7 Jun 2014 16:48:59 +0000 (17:48 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Jun 2014 15:39:34 +0000 (19:39 +0400)
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>
hw/dma/xilinx_axidma.c

index cc90eb5..ee60d3f 100644 (file)
@@ -157,11 +157,6 @@ static inline int stream_running(struct Stream *s)
     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)
 {
     return !!(s->regs[R_DMASR] & DMASR_IDLE);