x86, vdso: Cleanup __vdso_gettimeofday()
authorStefani Seibold <stefani@seibold.net>
Mon, 17 Mar 2014 22:22:06 +0000 (23:22 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Mar 2014 19:52:26 +0000 (12:52 -0700)
commit0df1ea2b7955d3cb311a549c44ed482452b859ff
tree6ac3651a888e78dd0f89aa077036ac410c86f76e
parentaf8c93d8d9809c3cf71cae2c398069399e64efa3
x86, vdso: Cleanup __vdso_gettimeofday()

This patch cleans up the __vdso_gettimeofday() function a little.

It kicks out an unneeded ret local variable and makes the code faster
if only the timezone is needed (an admittedly rare case.)

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