Skip to content

Commit 016da20

Browse files
bebarinoKAGA-KOKO
authored andcommitted
hrtimer: Remove hrtimer_peek_ahead_timers() leftovers
This function was removed in commit c6eb3f7 (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>
1 parent e7ea7c9 commit 016da20

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

‎include/linux/hrtimer.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,6 @@ static inline int hrtimer_is_hres_active(struct hrtimer *timer)
276276
return timer->base->cpu_base->hres_active;
277277
}
278278

279-
extern void hrtimer_peek_ahead_timers(void);
280-
281279
/*
282280
* The resolution of the clocks. The resolution value is returned in
283281
* the clock_getres() system call to give application programmers an
@@ -300,8 +298,6 @@ extern unsigned int hrtimer_resolution;
300298

301299
#define hrtimer_resolution (unsigned int)LOW_RES_NSEC
302300

303-
static inline void hrtimer_peek_ahead_timers(void) { }
304-
305301
static inline int hrtimer_is_hres_active(struct hrtimer *timer)
306302
{
307303
return 0;

‎kernel/time/hrtimer.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,10 +1368,7 @@ void hrtimer_interrupt(struct clock_event_device *dev)
13681368
ktime_to_ns(delta));
13691369
}
13701370

1371-
/*
1372-
* local version of hrtimer_peek_ahead_timers() called with interrupts
1373-
* disabled.
1374-
*/
1371+
/* called with interrupts disabled */
13751372
static inline void __hrtimer_peek_ahead_timers(void)
13761373
{
13771374
struct tick_device *td;

0 commit comments

Comments
 (0)