vdso/gettimeofday: Remove !CONFIG_TIME_NS stubs
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 26 Aug 2025 06:17:07 +0000 (08:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Sep 2025 09:23:49 +0000 (11:23 +0200)
commitf145d6bf8d590954672a4d0581c92e1799e9c8da
treef26a208f26ebeef3745f8393f27513cc82ea0089
parent7d298d25ce81251068bb4ea1d92813ec764a9fec
vdso/gettimeofday: Remove !CONFIG_TIME_NS stubs

All calls of these functions are already gated behind CONFIG_TIME_NS. The
compiler will already optimize them away if time namespaces are disabled.

Drop the unnecessary stubs.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-4-d9b65750e49f@linutronix.de
lib/vdso/gettimeofday.c