From: Anna-Maria Behnsen Date: Mon, 19 Feb 2024 15:39:32 +0000 (+0100) Subject: csky/vdso: Remove superfluous ifdeffery X-Git-Tag: block-6.9-20240315~71^2~49 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4eb0833d7de058735a424f1f783126c60a346b34;p=linux-block.git csky/vdso: Remove superfluous ifdeffery CSKY selects GENERIC_TIME_VSYSCALL. GENERIC_TIME_VSYSCALL dependent ifdeffery is superfluous. Clean it up. Signed-off-by: Anna-Maria Behnsen Signed-off-by: Thomas Gleixner Reviewed-by: Vincenzo Frascino Reviewed-by: Kees Cook Acked-by: Guo Ren Link: https://lore.kernel.org/r/20240219153939.75719-4-anna-maria@linutronix.de --- diff --git a/arch/csky/include/asm/vdso.h b/arch/csky/include/asm/vdso.h index bdce581b5fcb..181a15edafe8 100644 --- a/arch/csky/include/asm/vdso.h +++ b/arch/csky/include/asm/vdso.h @@ -5,11 +5,6 @@ #include -#ifndef GENERIC_TIME_VSYSCALL -struct vdso_data { -}; -#endif - /* * The VDSO symbols are mapped into Linux so we can just use regular symbol * addressing to get their offsets in userspace. The symbols are mapped at an diff --git a/arch/csky/kernel/vdso.c b/arch/csky/kernel/vdso.c index 16c20d64d165..e74a2504d331 100644 --- a/arch/csky/kernel/vdso.c +++ b/arch/csky/kernel/vdso.c @@ -8,11 +8,7 @@ #include #include -#ifdef GENERIC_TIME_VSYSCALL #include -#else -#include -#endif extern char vdso_start[], vdso_end[];