Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d7c72c57 authored by Baolin Wang's avatar Baolin Wang Committed by James Hogan
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Acked-by: default avatarArnd 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: default avatarJames Hogan <jhogan@kernel.org>
parent 23f8adc4
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;
}