diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-04-23 10:36:42 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:43:34 +1000 |
commit | 34efabe418953002d1c8e0ab28634929a9ddf433 (patch) | |
tree | 08219e87d628614fe68e9acad348acac397955a3 /arch/powerpc/include/asm/time.h | |
parent | 5235afa89a246c9d5ab35996bc38681c474c3ed7 (diff) | |
download | linux-stable-34efabe418953002d1c8e0ab28634929a9ddf433.tar.gz linux-stable-34efabe418953002d1c8e0ab28634929a9ddf433.tar.bz2 linux-stable-34efabe418953002d1c8e0ab28634929a9ddf433.zip |
powerpc: remove unused to_tm() helper
to_tm() is now completely unused, the only reference being in the
_dump_time() helper that is also unused. This removes both, leaving
the rest of the powerpc RTC code y2038 safe to as far as the hardware
supports.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/time.h')
-rw-r--r-- | arch/powerpc/include/asm/time.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h index 69b89f941252..b80d492ceb29 100644 --- a/arch/powerpc/include/asm/time.h +++ b/arch/powerpc/include/asm/time.h @@ -26,8 +26,6 @@ extern unsigned long tb_ticks_per_usec; extern unsigned long tb_ticks_per_sec; extern struct clock_event_device decrementer_clockevent; -struct rtc_time; -extern void to_tm(int tim, struct rtc_time * tm); extern void generic_calibrate_decr(void); extern void hdec_interrupt(struct pt_regs *regs); |