summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-07 13:38:59 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-02-17 20:12:17 +0100
commitf86fd32db706613fe8d0104057efa6e83e0d7e8f (patch)
tree538b280f0e4d48d1766f8b33754bdb3f4cb5b86a /kernel/time
parent5e3c6a312a0946d2d83e32359612cbb925a8bed0 (diff)
downloadlinux-f86fd32db706613fe8d0104057efa6e83e0d7e8f.tar.gz
linux-f86fd32db706613fe8d0104057efa6e83e0d7e8f.tar.bz2
linux-f86fd32db706613fe8d0104057efa6e83e0d7e8f.zip
lib/vdso: Cleanup clock mode storage leftovers
Now that all architectures are converted to use the generic storage the helpers and conditionals can be removed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lkml.kernel.org/r/20200207124403.470699892@linutronix.de
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/vsyscall.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/time/vsyscall.c b/kernel/time/vsyscall.c
index f9a5178c69bb..d31a5ef4ade5 100644
--- a/kernel/time/vsyscall.c
+++ b/kernel/time/vsyscall.c
@@ -77,11 +77,7 @@ void update_vsyscall(struct timekeeper *tk)
/* copy vsyscall data */
vdso_write_begin(vdata);
-#ifdef CONFIG_GENERIC_VDSO_CLOCK_MODE
clock_mode = tk->tkr_mono.clock->vdso_clock_mode;
-#else
- clock_mode = __arch_get_clock_mode(tk);
-#endif
vdata[CS_HRES_COARSE].clock_mode = clock_mode;
vdata[CS_RAW].clock_mode = clock_mode;