projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b5426
)
hw/dma/xilinx_axidma: Remove unused stream_halted() function
author
Peter Maydell
<peter.maydell@linaro.org>
Sat, 7 Jun 2014 16:48:59 +0000
(17:48 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/hw/dma/xilinx_axidma.c
b/hw/dma/xilinx_axidma.c
index cc90eb51107d1c6c5b502f3db6f4fbb9254fe759..ee60d3ff3953379faa846e18fc22ea7774e6e8c7 100644
(file)
--- 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);