diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-19 16:02:29 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-07-29 10:48:18 +0200 |
commit | d7de1c3af18b1a638fc5211f8078ac427280d455 (patch) | |
tree | c9c5496b02a7502ad9d7680aacde1ad08b78b61f /arch/m68k/mac/misc.c | |
parent | 5b9bfb8ec467b2017f36d7675434822271ce3d29 (diff) | |
download | linux-d7de1c3af18b1a638fc5211f8078ac427280d455.tar.bz2 |
m68k: Remove unused set_clock_mmss() helpers
Commit 397ac99c6cef ("m68k: remove dead timer code") removed set_rtc_mmss()
because it was unused in 2012. However, this was itself the only user of the
mach_set_clock_mmss() callback and the many implementations of that callback,
which are equally unused.
This removes all of those as well.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/mac/misc.c')
-rw-r--r-- | arch/m68k/mac/misc.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c index c2ff5059d3cc..19e9d8eef1f2 100644 --- a/arch/m68k/mac/misc.c +++ b/arch/m68k/mac/misc.c @@ -727,19 +727,3 @@ int mac_hwclk(int op, struct rtc_time *t) } return 0; } - -/* - * Set minutes/seconds in the hardware clock - */ - -int mac_set_clock_mmss (unsigned long nowtime) -{ - struct rtc_time now; - - mac_hwclk(0, &now); - now.tm_sec = nowtime % 60; - now.tm_min = (nowtime / 60) % 60; - mac_hwclk(1, &now); - - return 0; -} |