dma/sb16: make clang analyzer not complain
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
5a5d4a7651
commit
514d97dea6
1
hw/dma.c
1
hw/dma.c
@ -344,7 +344,6 @@ static void channel_run (int ncont, int ichan)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
r = dma_controllers[ncont].regs + ichan;
|
|
||||||
n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
|
n = r->transfer_handler (r->opaque, ichan + (ncont << 2),
|
||||||
r->now[COUNT], (r->base[COUNT] + 1) << ncont);
|
r->now[COUNT], (r->base[COUNT] + 1) << ncont);
|
||||||
r->now[COUNT] = n;
|
r->now[COUNT] = n;
|
||||||
|
Loading…
Reference in New Issue
Block a user