Skip to content

Commit

Permalink
m68k: remove dead timer code
Browse files Browse the repository at this point in the history
The set_rtc_mmss() function is defined "static inline" but is never used
in this file. Remove it.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
  • Loading branch information
Greg Ungerer committed Mar 4, 2012
1 parent fa7f9e7 commit 397ac99
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/m68k/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
#include <linux/timex.h>
#include <linux/profile.h>

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
Expand Down

0 comments on commit 397ac99

Please sign in to comment.