From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtJnk-0000No-Vp for qemu-devel@nongnu.org; Sat, 07 Jun 2014 12:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtJng-0000Sa-95 for qemu-devel@nongnu.org; Sat, 07 Jun 2014 12:49:04 -0400 From: Peter Maydell Date: Sat, 7 Jun 2014 17:48:59 +0100 Message-Id: <1402159739-13622-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] hw/dma/xilinx_axidma: Remove unused stream_halted() function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Peter Crosthwaite , patches@linaro.org The stream_halted() function is never used; remove it. Signed-off-by: Peter Maydell --- hw/dma/xilinx_axidma.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index cc90eb5..ee60d3f 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); -- 1.8.5.4