dma/rc4030: fix a mixed declarations and code warning

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
This commit is contained in:
Yongbok Kim 2017-03-14 16:51:56 +00:00
parent c627e7526a
commit 1b393b310f

View File

@ -99,8 +99,8 @@ typedef struct rc4030State
static void set_next_tick(rc4030State *s)
{
qemu_irq_lower(s->timer_irq);
uint32_t tm_hz;
qemu_irq_lower(s->timer_irq);
tm_hz = 1000 / (s->itr + 1);