summaryrefslogtreecommitdiff
path: root/hw/dma.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-01-12 21:55:45 +0300
committermalc <av1474@comtv.ru>2010-01-12 21:55:53 +0300
commit514d97dea6f5ab8b995275c9b022af85a8846e08 (patch)
tree9f05e88729f5feac11c2ae77c105a058b8ad1d7c /hw/dma.c
parent5a5d4a7651d2e9c89faf827cba8ac96f700530fd (diff)
downloadqemu-514d97dea6f5ab8b995275c9b022af85a8846e08.tar.gz
qemu-514d97dea6f5ab8b995275c9b022af85a8846e08.tar.bz2
qemu-514d97dea6f5ab8b995275c9b022af85a8846e08.zip
dma/sb16: make clang analyzer not complain
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/dma.c')
-rw-r--r--hw/dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/dma.c b/hw/dma.c
index 44c642ea11..e5f7af7a88 100644
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -344,7 +344,6 @@ static void channel_run (int ncont, int ichan)
}
#endif
- r = dma_controllers[ncont].regs + ichan;
n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
r->now[COUNT], (r->base[COUNT] + 1) << ncont);
r->now[COUNT] = n;