Skip to content

Commit

Permalink
MIPS: sni: Remove the read_persistent_clock()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Baolin Wang authored and James Hogan committed May 14, 2018
1 parent 23f8adc commit d7c72c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/mips/sni/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d7c72c5

Please sign in to comment.