clocksource: arm_arch_timer: Remove arch_timer_get_timecounter
authorJulien Grall <julien.grall@arm.com>
Mon, 11 Apr 2016 15:33:00 +0000 (16:33 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 3 May 2016 10:54:21 +0000 (12:54 +0200)
The only call of arch_timer_get_timecounter (in KVM) has been removed.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/clocksource/arm_arch_timer.c
include/clocksource/arm_arch_timer.h

index bb58224eea36cdef85b75e79542d2c3382dec31f..4814446a0024d9fed6f484c700cd98b47db87a9e 100644 (file)
@@ -475,11 +475,6 @@ struct arch_timer_kvm_info *arch_timer_get_kvm_info(void)
        return &arch_timer_kvm_info;
 }
 
-struct timecounter *arch_timer_get_timecounter(void)
-{
-       return &arch_timer_kvm_info.timecounter;
-}
-
 static void __init arch_counter_register(unsigned type)
 {
        u64 start_count;
index 9dd996a67e9e30249c1f1d62630548c8e2889839..caedb74c92108188e57652b56a1c198f3263c092 100644 (file)
@@ -58,7 +58,6 @@ struct arch_timer_kvm_info {
 
 extern u32 arch_timer_get_rate(void);
 extern u64 (*arch_timer_read_counter)(void);
-extern struct timecounter *arch_timer_get_timecounter(void);
 extern struct arch_timer_kvm_info *arch_timer_get_kvm_info(void);
 
 #else
@@ -73,11 +72,6 @@ static inline u64 arch_timer_read_counter(void)
        return 0;
 }
 
-static inline struct timecounter *arch_timer_get_timecounter(void)
-{
-       return NULL;
-}
-
 #endif
 
 #endif