Commit a53d892d authored by Julien Grall's avatar Julien Grall Committed by Christoffer Dall

clocksource: arm_arch_timer: Remove arch_timer_get_timecounter

The only call of arch_timer_get_timecounter (in KVM) has been removed.
Signed-off-by: default avatarJulien Grall <julien.grall@arm.com>
Acked-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
parent 503a6286
...@@ -475,11 +475,6 @@ struct arch_timer_kvm_info *arch_timer_get_kvm_info(void) ...@@ -475,11 +475,6 @@ struct arch_timer_kvm_info *arch_timer_get_kvm_info(void)
return &arch_timer_kvm_info; 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) static void __init arch_counter_register(unsigned type)
{ {
u64 start_count; u64 start_count;
......
...@@ -58,7 +58,6 @@ struct arch_timer_kvm_info { ...@@ -58,7 +58,6 @@ struct arch_timer_kvm_info {
extern u32 arch_timer_get_rate(void); extern u32 arch_timer_get_rate(void);
extern u64 (*arch_timer_read_counter)(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); extern struct arch_timer_kvm_info *arch_timer_get_kvm_info(void);
#else #else
...@@ -73,11 +72,6 @@ static inline u64 arch_timer_read_counter(void) ...@@ -73,11 +72,6 @@ static inline u64 arch_timer_read_counter(void)
return 0; return 0;
} }
static inline struct timecounter *arch_timer_get_timecounter(void)
{
return NULL;
}
#endif #endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment