Commit c9662341 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle

[MIPS] time: remove unused mips_timer_state()

Signed-off-by: default avatarYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fa71c960
...@@ -161,7 +161,6 @@ static cycle_t dec_ioasic_hpt_read(void) ...@@ -161,7 +161,6 @@ static cycle_t dec_ioasic_hpt_read(void)
void __init plat_time_init(void) void __init plat_time_init(void)
{ {
mips_timer_state = dec_timer_state;
mips_timer_ack = dec_timer_ack; mips_timer_ack = dec_timer_ack;
if (!cpu_has_counter && IOASIC) if (!cpu_has_counter && IOASIC)
......
...@@ -50,8 +50,6 @@ int update_persistent_clock(struct timespec now) ...@@ -50,8 +50,6 @@ int update_persistent_clock(struct timespec now)
return rtc_mips_set_mmss(now.tv_sec); return rtc_mips_set_mmss(now.tv_sec);
} }
int (*mips_timer_state)(void);
int null_perf_irq(void) int null_perf_irq(void)
{ {
return 0; return 0;
......
...@@ -30,12 +30,6 @@ extern spinlock_t rtc_lock; ...@@ -30,12 +30,6 @@ extern spinlock_t rtc_lock;
extern int rtc_mips_set_time(unsigned long); extern int rtc_mips_set_time(unsigned long);
extern int rtc_mips_set_mmss(unsigned long); extern int rtc_mips_set_mmss(unsigned long);
/*
* Timer interrupt functions.
* mips_timer_state is needed for high precision timer calibration.
*/
extern int (*mips_timer_state)(void);
/* /*
* board specific routines required by time_init(). * board specific routines required by time_init().
*/ */
...@@ -43,8 +37,7 @@ extern void plat_time_init(void); ...@@ -43,8 +37,7 @@ extern void plat_time_init(void);
/* /*
* mips_hpt_frequency - must be set if you intend to use an R4k-compatible * mips_hpt_frequency - must be set if you intend to use an R4k-compatible
* counter as a timer interrupt source; otherwise it can be set up * counter as a timer interrupt source.
* automagically with an aid of mips_timer_state.
*/ */
extern unsigned int mips_hpt_frequency; extern unsigned int mips_hpt_frequency;
......
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