lib/vdso: Let do_coarse() return 0 to simplify the callsite
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 23 Dec 2019 14:31:07 +0000 (14:31 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 11:20:46 +0000 (12:20 +0100)
commit8463cf80529d0fd80b84cd5ab8b9b952b01c7eb9
treed51d8e8659466903b6de5a8c82f4efaff1513a8e
parent0b5c12332db5b71c6db0c102b3e6acc7c7c6a54d
lib/vdso: Let do_coarse() return 0 to simplify the callsite

do_coarse() is similar to do_hres() except that it never fails.

Change its type to int instead of void and let it always return success (0)
to simplify the call site.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/21e8afa38c02ca8672c2690307383507fe63b454.1577111367.git.christophe.leroy@c-s.fr
lib/vdso/gettimeofday.c