m68k: Remove unused set_clock_mmss() helpers
Commit 397ac99c6c
("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>
This commit is contained in:

committed by
Geert Uytterhoeven

parent
5b9bfb8ec4
commit
d7de1c3af1
@@ -31,7 +31,6 @@ extern void dn_sched_init(irq_handler_t handler);
|
||||
extern void dn_init_IRQ(void);
|
||||
extern u32 dn_gettimeoffset(void);
|
||||
extern int dn_dummy_hwclk(int, struct rtc_time *);
|
||||
extern int dn_dummy_set_clock_mmss(unsigned long);
|
||||
extern void dn_dummy_reset(void);
|
||||
#ifdef CONFIG_HEARTBEAT
|
||||
static void dn_heartbeat(int on);
|
||||
@@ -156,7 +155,6 @@ void __init config_apollo(void)
|
||||
arch_gettimeoffset = dn_gettimeoffset;
|
||||
mach_max_dma_address = 0xffffffff;
|
||||
mach_hwclk = dn_dummy_hwclk; /* */
|
||||
mach_set_clock_mmss = dn_dummy_set_clock_mmss; /* */
|
||||
mach_reset = dn_dummy_reset; /* */
|
||||
#ifdef CONFIG_HEARTBEAT
|
||||
mach_heartbeat = dn_heartbeat;
|
||||
@@ -240,12 +238,6 @@ int dn_dummy_hwclk(int op, struct rtc_time *t) {
|
||||
|
||||
}
|
||||
|
||||
int dn_dummy_set_clock_mmss(unsigned long nowtime)
|
||||
{
|
||||
pr_info("set_clock_mmss\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void dn_dummy_reset(void) {
|
||||
|
||||
dn_serial_print("The end !\n");
|
||||
|
Reference in New Issue
Block a user