summaryrefslogtreecommitdiff
path: root/arch/x86/vdso/vclock_gettime.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-05-26 15:17:35 +0400
committerThomas Gleixner <tglx@linutronix.de>2011-05-26 15:17:35 +0400
commite9d35946c84c44e33e007123d3d595ccbd21d1a4 (patch)
tree70cd0f45b12229259b6bddf2b3d61ed250cb763e /arch/x86/vdso/vclock_gettime.c
parent973aa8181e10050809b56ecbaadd01495766a19e (diff)
downloadlinux-e9d35946c84c44e33e007123d3d595ccbd21d1a4.tar.xz
x86: vdso: Remove unused variable
Reported-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@mit.edu>
Diffstat (limited to 'arch/x86/vdso/vclock_gettime.c')
-rw-r--r--arch/x86/vdso/vclock_gettime.c2
1 files changed, 1 insertions, 1 deletions
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);