hw/dma/xilinx_axidma: Remove unused stream_halted() function
PATCH 1/1 hw/dma/xilinx_axidma: Remove unused stream_halted() function
The stream_halted() function is never used; remove it.
Signed-off-by Peter Maydell <[email protected]>
--- hw/dma/xilinx_axidma.c | 5 ----- 1 file changed, 5 deletions(-)
hw/dma/xilinx_axidma.c +0 -5
@@ -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 );
Signature · 1 line
1.8.5.4
Michael Tokarev
AppliedApplied to -trivial, thanks!
/mjt