aboutsummaryrefslogtreecommitdiff
path: root/hw/dma
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-06-07 17:48:59 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-10 19:39:34 +0400
commita1fa7992a90658d803b8abaf182440c36c460d51 (patch)
tree08fd5efe084cec86d45de0a0169fe9948254c185 /hw/dma
parentf9b5426fd50a60d9fda2c061c24f60537666e9af (diff)
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>
Diffstat (limited to 'hw/dma')
-rw-r--r--hw/dma/xilinx_axidma.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c
index cc90eb5110..ee60d3ff39 100644
--- a/hw/dma/xilinx_axidma.c
+++ b/hw/dma/xilinx_axidma.c
@@ -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);