summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-10-10 14:54:46 +0100
committerThomas Gleixner <tglx@linutronix.de>2024-10-10 21:03:10 +0200
commitbafffd56c608106d11e7aec851f114dcd66b2091 (patch)
tree73d31608083010e43ea98163ed5201af6d9e7a83 /include/linux
parentb7f6d3a09da3a2272cbce28bdd8f8c6db772a84e (diff)
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
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clocksource.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index d35b677b08fe..ef1b16da6ad5 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -215,7 +215,6 @@ static inline s64 clocksource_cyc2ns(u64 cycles, u32 mult, u32 shift)
extern int clocksource_unregister(struct clocksource*);
extern void clocksource_touch_watchdog(void);
-extern void clocksource_change_rating(struct clocksource *cs, int rating);
extern void clocksource_suspend(void);
extern void clocksource_resume(void);
extern struct clocksource * __init clocksource_default_clock(void);