2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00

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>
This commit is contained in:
Baolin Wang 2018-04-19 15:21:06 +08:00 committed by James Hogan
parent 23f8adc497
commit d7c72c57b1
No known key found for this signature in database
GPG Key ID: 35CEE4862B1023F2

View 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;
}