arm: remove prototype for get_timer_masked
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / vf610 / timer.c
index 6e1308e..821a279 100644 (file)
@@ -57,14 +57,9 @@ unsigned long long get_ticks(void)
        return (((unsigned long long)gd->arch.tbu) << 32) | gd->arch.tbl;
 }
 
-ulong get_timer_masked(void)
-{
-       return tick_to_time(get_ticks());
-}
-
 ulong get_timer(ulong base)
 {
-       return get_timer_masked() - base;
+       return tick_to_time(get_ticks()) - base;
 }
 
 /* delay x useconds AND preserve advance timstamp value */