]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clocksource: Remove unused clocksource_change_rating
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 10 Oct 2024 13:54:46 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 Oct 2024 19:03:10 +0000 (21:03 +0200)
commitbafffd56c608106d11e7aec851f114dcd66b2091
tree73d31608083010e43ea98163ed5201af6d9e7a83
parentb7f6d3a09da3a2272cbce28bdd8f8c6db772a84e
clocksource: Remove unused clocksource_change_rating

clocksource_change_rating() has been unused since 2017's commit
63ed4e0c67df ("Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code")

Remove it.

__clocksource_change_rating now only has one use which is ifdef'd.
Move it into the ifdef'd section.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010135446.213098-1-linux@treblig.org
include/linux/clocksource.h
kernel/time/clocksource.c