Skip to content

Commit

Permalink
clocksource: arm_arch_timer: Remove arch_timer_get_timecounter
Browse files Browse the repository at this point in the history
The only call of arch_timer_get_timecounter (in KVM) has been removed.

Signed-off-by: Julien Grall <[email protected]>
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
  • Loading branch information
Julien Grall authored and chazy committed May 3, 2016
1 parent 503a628 commit a53d892
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions drivers/clocksource/arm_arch_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 0 additions & 6 deletions include/clocksource/arm_arch_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a53d892

Please sign in to comment.