Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] time: remove unused mips_timer_state()

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Yoichi Yuasa and committed by
Ralf Baechle
c9662341 fa71c960

+1 -11
-1
arch/mips/dec/time.c
··· 161 161 162 162 void __init plat_time_init(void) 163 163 { 164 - mips_timer_state = dec_timer_state; 165 164 mips_timer_ack = dec_timer_ack; 166 165 167 166 if (!cpu_has_counter && IOASIC)
-2
arch/mips/kernel/time.c
··· 50 50 return rtc_mips_set_mmss(now.tv_sec); 51 51 } 52 52 53 - int (*mips_timer_state)(void); 54 - 55 53 int null_perf_irq(void) 56 54 { 57 55 return 0;
+1 -8
include/asm-mips/time.h
··· 31 31 extern int rtc_mips_set_mmss(unsigned long); 32 32 33 33 /* 34 - * Timer interrupt functions. 35 - * mips_timer_state is needed for high precision timer calibration. 36 - */ 37 - extern int (*mips_timer_state)(void); 38 - 39 - /* 40 34 * board specific routines required by time_init(). 41 35 */ 42 36 extern void plat_time_init(void); 43 37 44 38 /* 45 39 * mips_hpt_frequency - must be set if you intend to use an R4k-compatible 46 - * counter as a timer interrupt source; otherwise it can be set up 47 - * automagically with an aid of mips_timer_state. 40 + * counter as a timer interrupt source. 48 41 */ 49 42 extern unsigned int mips_hpt_frequency; 50 43