diff options
author | Greg Ungerer <gerg@linux-m68k.org> | 2022-05-16 16:46:07 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2022-05-25 00:04:11 +1000 |
commit | 348cce32cc324507a9db265b9ff454d141a57add (patch) | |
tree | 05529c43e05686af6da68c1073911608e494eadb /arch/m68k/hp300 | |
parent | 1300eec9e51f23c34c4487d2b06f58ca22e1ad3d (diff) |
m68k: removed unused "mach_get_ss"
The m68k machine helper function "mach_get_ss" function pointer is
set for some machines, but ultimately never used anywhere. Remove it.
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/hp300')
-rw-r--r-- | arch/m68k/hp300/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/m68k/hp300/config.c b/arch/m68k/hp300/config.c index 2c92843397c3..e4bd6913f50e 100644 --- a/arch/m68k/hp300/config.c +++ b/arch/m68k/hp300/config.c @@ -240,12 +240,6 @@ static int hp300_hwclk(int op, struct rtc_time *t) return 0; } -static unsigned int hp300_get_ss(void) -{ - return hp300_rtc_read(RTC_REG_SEC1) * 10 + - hp300_rtc_read(RTC_REG_SEC2); -} - static void __init hp300_init_IRQ(void) { } @@ -256,7 +250,6 @@ void __init config_hp300(void) mach_init_IRQ = hp300_init_IRQ; mach_get_model = hp300_get_model; mach_hwclk = hp300_hwclk; - mach_get_ss = hp300_get_ss; mach_reset = hp300_reset; #ifdef CONFIG_HEARTBEAT mach_heartbeat = hp300_pulse; |