Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9662341f8a09cffd7234a89cc066c342fe343bf Commit: c9662341f8a09cffd7234a89cc066c342fe343bf Parent: fa71c96002d1b02cd1ba1a4477d4b8ad95b587f9 Author: Yoichi Yuasa <[EMAIL PROTECTED]> AuthorDate: Sun Dec 9 21:19:36 2007 +0900 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Tue Jan 29 10:15:00 2008 +0000
[MIPS] time: remove unused mips_timer_state() Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- arch/mips/dec/time.c | 1 - arch/mips/kernel/time.c | 2 -- include/asm-mips/time.h | 9 +-------- 3 files changed, 1 insertions(+), 11 deletions(-) diff --git a/arch/mips/dec/time.c b/arch/mips/dec/time.c index 820e533..6034906 100644 --- a/arch/mips/dec/time.c +++ b/arch/mips/dec/time.c @@ -161,7 +161,6 @@ static cycle_t dec_ioasic_hpt_read(void) void __init plat_time_init(void) { - mips_timer_state = dec_timer_state; mips_timer_ack = dec_timer_ack; if (!cpu_has_counter && IOASIC) diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index 2995be1..9f85d4c 100644 --- a/arch/mips/kernel/time.c +++ b/arch/mips/kernel/time.c @@ -50,8 +50,6 @@ int update_persistent_clock(struct timespec now) return rtc_mips_set_mmss(now.tv_sec); } -int (*mips_timer_state)(void); - int null_perf_irq(void) { return 0; diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index 7717934..a8fd16e 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h @@ -31,20 +31,13 @@ extern int rtc_mips_set_time(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(). */ extern void plat_time_init(void); /* * 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 - * automagically with an aid of mips_timer_state. + * counter as a timer interrupt source. */ extern unsigned int mips_hpt_frequency; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html