From: Greg Ungerer Date: Wed, 22 Feb 2012 03:51:22 +0000 (+1000) Subject: m68k: remove dead timer code X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=397ac99c6cef38cdf260440635c8873f51109c34;p=deliverable%2Flinux.git m68k: remove dead timer code The set_rtc_mmss() function is defined "static inline" but is never used in this file. Remove it. Signed-off-by: Greg Ungerer Acked-by: Geert Uytterhoeven --- diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c index adfcefbb34b0..d7deb7fc7eb5 100644 --- a/arch/m68k/kernel/time.c +++ b/arch/m68k/kernel/time.c @@ -28,13 +28,6 @@ #include #include -static inline int set_rtc_mmss(unsigned long nowtime) -{ - if (mach_set_clock_mmss) - return mach_set_clock_mmss (nowtime); - return -1; -} - /* * timer_interrupt() needs to keep up the real-time clock, * as well as call the "xtime_update()" routine every clocktick