projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
973aa81
)
x86: vdso: Remove unused variable
author
Thomas Gleixner
<tglx@linutronix.de>
Thu, 26 May 2011 11:17:35 +0000
(13:17 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 26 May 2011 11:17:35 +0000
(13:17 +0200)
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@mit.edu>
arch/x86/vdso/vclock_gettime.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/vdso/vclock_gettime.c
b/arch/x86/vdso/vclock_gettime.c
index a69929e8bfdb56ee736426820ecda51f202e7406..a724905fdae7c296bb40492505225f5cf053f35a 100644
(file)
--- 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);