summary refs log tree commit diff stats
path: root/hw/exynos4210_mct.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/exynos4210_mct.c')
-rw-r--r--hw/exynos4210_mct.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/exynos4210_mct.c b/hw/exynos4210_mct.c
index 7474fcf802..7a22b1f900 100644
--- a/hw/exynos4210_mct.c
+++ b/hw/exynos4210_mct.c
@@ -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;
 }