]> Git Repo - qemu.git/blobdiff - hw/exynos4210_mct.c
qxl/update_area_io: guest_bug on invalid parameters
[qemu.git] / hw / exynos4210_mct.c
index 7474fcf802b3303543a17ae81b0858b530b06e6e..7a22b1f900a99848d1d3c9505921660b02327974 100644 (file)
@@ -376,10 +376,6 @@ static uint64_t exynos4210_gfrc_get_count(Exynos4210MCTGT *s)
 {
     uint64_t count = 0;
     count = ptimer_get_count(s->ptimer_frc);
-    if (!count) {
-        /* Timer event was generated and s->reg.cnt holds adequate value */
-        return s->reg.cnt;
-    }
     count = s->count - count;
     return s->reg.cnt + count;
 }
This page took 0.023942 seconds and 4 git commands to generate.