From a1fa7992a90658d803b8abaf182440c36c460d51 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Sat, 7 Jun 2014 17:48:59 +0100 Subject: hw/dma/xilinx_axidma: Remove unused stream_halted() function The stream_halted() function is never used; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- hw/dma/xilinx_axidma.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'hw/dma') 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); -- cgit v1.2.3