]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
hrtimer: Remove hrtimer_peek_ahead_timers() leftovers
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 17 Mar 2017 01:08:13 +0000 (18:08 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Mar 2017 17:24:58 +0000 (18:24 +0100)
This function was removed in commit c6eb3f70d448 (hrtimer: Get rid of
hrtimer softirq, 2015-04-14) but the prototype wasn't ever deleted.

Delete it now.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Link: http://lkml.kernel.org/r/20170317010814.2591-1-sboyd@codeaurora.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
kernel/time/hrtimer.c

index 249e579ecd4c4d7ecf06f38e3c0fad75ba46000b..23d58fcd4d9a76713a70620caddc4b9fbba62092 100644 (file)
@@ -276,8 +276,6 @@ static inline int hrtimer_is_hres_active(struct hrtimer *timer)
        return timer->base->cpu_base->hres_active;
 }
 
-extern void hrtimer_peek_ahead_timers(void);
-
 /*
  * The resolution of the clocks. The resolution value is returned in
  * the clock_getres() system call to give application programmers an
@@ -300,8 +298,6 @@ extern unsigned int hrtimer_resolution;
 
 #define hrtimer_resolution     (unsigned int)LOW_RES_NSEC
 
-static inline void hrtimer_peek_ahead_timers(void) { }
-
 static inline int hrtimer_is_hres_active(struct hrtimer *timer)
 {
        return 0;
index ec08f527d7ee9101399fd150ad788b8a40f2f859..1ef82cdb61fff15ae825404fa03baa8b4c2b49a6 100644 (file)
@@ -1368,10 +1368,7 @@ void hrtimer_interrupt(struct clock_event_device *dev)
                    ktime_to_ns(delta));
 }
 
-/*
- * local version of hrtimer_peek_ahead_timers() called with interrupts
- * disabled.
- */
+/* called with interrupts disabled */
 static inline void __hrtimer_peek_ahead_timers(void)
 {
        struct tick_device *td;