x86, vdso: __vdso_clock_gettime() cleanup
authorStefani Seibold <stefani@seibold.net>
Mon, 17 Mar 2014 22:22:04 +0000 (23:22 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Mar 2014 19:52:01 +0000 (12:52 -0700)
commitce39c64028a075d14af32bfb8336bfe1370c0443
treed782e79dd4d326ebe411e4ff552e629c3c06f7cc
parent411f790cd7e91fac0db80d3cf789cb6deeac298e
x86, vdso: __vdso_clock_gettime() cleanup

This patch is a small code cleanup for the __vdso_clock_gettime() function.

It removes the unneeded return values from do_monotonic_coarse() and
do_realtime_coarse() and add a fallback label for doing the kernel
gettimeofday() system call.

Reviewed-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Link: http://lkml.kernel.org/r/1395094933-14252-5-git-send-email-stefani@seibold.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/vclock_gettime.c