Skip to contentSkip to conversation

hrtimer: Remove hrtimer_clock_base::reprogram()

PATCH Applied Mark McLoughlin 2 participants 2 messages Sep 19, 2008 – Sep 22, 2008 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 hrtimer: Remove hrtimer_clock_base::reprogram()

hrtimer_clock_base::reprogram() also appears to never have been used, so remove it.

---
 include/linux/hrtimer.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
include/linux/hrtimer.h +0 -4
index 1b079bd..68b0196 100644
@@ -147,7 +147,6 @@ struct hrtimer_sleeper {
  * @get_time:		function to retrieve the current time of the clock
  * @softirq_time:	the time when running the hrtimer queue in the softirq
  * @offset:		offset of this clock to the monotonic base
- * @reprogram:		function to reprogram the timer event
  */
 struct hrtimer_clock_base {
 	struct hrtimer_cpu_base	*cpu_base;
@@ -159,9 +158,6 @@ struct hrtimer_clock_base {
 	ktime_t			softirq_time;
 #ifdef CONFIG_HIGH_RES_TIMERS
 	ktime_t			offset;
-	int			(*reprogram)(struct hrtimer *t,
-					     struct hrtimer_clock_base *b,
-					     ktime_t n);
 #endif
 };
 
Signature · 1 line
1.5.4.3
Applied
#1 lore raw
Quoted 4 lines · Mark McLoughlin

hrtimer_clock_base::reprogram() also appears to never have been used, so remove it.

applied to tip/timers/hrtimers, thanks Mark.

Thomas, any objections?

Ingo