diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-04-19 15:21:06 +0800 |
---|---|---|
committer | James Hogan <jhogan@kernel.org> | 2018-05-14 23:58:25 +0100 |
commit | d7c72c57b144997241f6933b6548ea86ced1b844 (patch) | |
tree | 4f5e64cb0e0310d4f43c03994955972defe50b77 /arch/mips/sni | |
parent | 23f8adc497b7cf1d21845f2bedca354f955f3a8e (diff) | |
download | blackbird-obmc-linux-d7c72c57b144997241f6933b6548ea86ced1b844.tar.gz blackbird-obmc-linux-d7c72c57b144997241f6933b6548ea86ced1b844.zip |
MIPS: sni: Remove the read_persistent_clock()
The dummy read_persistent_clock() uses a timespec, which is not year
2038 safe on 32bit systems. Thus remove this obsolete interface.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/19114/
Signed-off-by: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/sni')
-rw-r--r-- | arch/mips/sni/time.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index 0eb7d1e8821b..dbace1f3e1a9 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c @@ -171,9 +171,3 @@ void __init plat_time_init(void) } setup_pit_timer(); } - -void read_persistent_clock(struct timespec *ts) -{ - ts->tv_sec = -1; - ts->tv_nsec = 0; -} |