From: Thomas Gleixner Date: Thu, 26 May 2011 11:17:35 +0000 (+0200) Subject: x86: vdso: Remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9d35946c84c44e33e007123d3d595ccbd21d1a4;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git x86: vdso: Remove unused variable Reported-by: Peter Zijlstra Signed-off-by: Thomas Gleixner Cc: Andy Lutomirski --- diff --git a/arch/x86/vdso/vclock_gettime.c b/arch/x86/vdso/vclock_gettime.c index a69929e8bfdb..a724905fdae7 100644 --- a/arch/x86/vdso/vclock_gettime.c +++ b/arch/x86/vdso/vclock_gettime.c @@ -175,8 +175,8 @@ static __always_inline long time_syscall(long *t) notrace time_t __vdso_time(time_t *t) { - unsigned seq; time_t result; + if (unlikely(!VVAR(vsyscall_gtod_data).sysctl_enabled)) return time_syscall(t);