]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clocksource: Clean up clocksource_update_freq() functions
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 4 May 2026 06:54:27 +0000 (08:54 +0200)
committerThomas Gleixner <tglx@kernel.org>
Wed, 6 May 2026 06:33:08 +0000 (08:33 +0200)
commit33d4bfc49613301c8e451a597e377aaa331944bc
treedcac486bed4e5916ac3e4204e43b21f91d7285b2
parented3b3c4976686b63b28e44f9805a88abc20ff18a
clocksource: Clean up clocksource_update_freq() functions

Remove the unused functions __clocksource_update_freq_hz() and
__clocksource_update_freq_khz().

Then make __clocksource_update_freq_scale() static as it is not used
from external callers anymore. Also clean up the comment accordingly.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260504-clocksource-update_freq-v2-1-3e696fb01776@linutronix.de
include/linux/clocksource.h
kernel/time/clocksource.c