]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: SEAD3: Remove custom read_persistent_clock
authorPaul Burton <paul.burton@imgtec.com>
Fri, 26 Aug 2016 14:17:51 +0000 (15:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:10:59 +0000 (17:10 +0200)
The SEAD3 board defines a custom implementation of read_persistent_clock
which does exactly the same dummy operation as the generic weak version.
Remove the not really implemented custom version.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14064/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-sead3/sead3-time.c

index 10b0bf338027a6e6b182d008db9bb29a92d525de..71feb519447831f24879c46ffeb2244ab4bea111 100644 (file)
@@ -63,12 +63,6 @@ static unsigned int __init estimate_cpu_frequency(void)
        return freq ;
 }
 
-void read_persistent_clock(struct timespec *ts)
-{
-       ts->tv_sec = 0;
-       ts->tv_nsec = 0;
-}
-
 int get_c0_perfcount_int(void)
 {
        if (gic_present)