From: Yongbok Kim Date: Tue, 14 Mar 2017 16:51:56 +0000 (+0000) Subject: dma/rc4030: fix a mixed declarations and code warning X-Git-Tag: v2.9.0-rc2~30^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1b393b310f887f22608624f62e5c7bbbc01b1fe7;p=mirror_qemu.git dma/rc4030: fix a mixed declarations and code warning Signed-off-by: Yongbok Kim Reviewed-by: Hervé Poussineau --- diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c index 5f10b9d918..0080141905 100644 --- a/hw/dma/rc4030.c +++ b/hw/dma/rc4030.c @@ -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);