MIPS: sni: Remove the read_persistent_clock()
authorBaolin Wang <[email protected]>
Thu, 19 Apr 2018 07:21:06 +0000 (15:21 +0800)
committerJames Hogan <[email protected]>
Mon, 14 May 2018 22:58:25 +0000 (23:58 +0100)
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/19114/
Signed-off-by: James Hogan <[email protected]>
arch/mips/sni/time.c

index 0eb7d1e8821be63a0c13394833eb70fcc3e81189..dbace1f3e1a9730d956f91aad1c3beb80543536f 100644 (file)
@@ -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;
-}