提交 b91c4996 编写于 作者: M Mark McLoughlin 提交者: Ingo Molnar

hrtimer: remove hrtimer_clock_base::reprogram()

hrtimer_clock_base::reprogram() also appears to never
have been used, so remove it.
Signed-off-by: NMark McLoughlin <markmc@redhat.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 d7cfb60c
...@@ -147,7 +147,6 @@ struct hrtimer_sleeper { ...@@ -147,7 +147,6 @@ struct hrtimer_sleeper {
* @get_time: function to retrieve the current time of the clock * @get_time: function to retrieve the current time of the clock
* @softirq_time: the time when running the hrtimer queue in the softirq * @softirq_time: the time when running the hrtimer queue in the softirq
* @offset: offset of this clock to the monotonic base * @offset: offset of this clock to the monotonic base
* @reprogram: function to reprogram the timer event
*/ */
struct hrtimer_clock_base { struct hrtimer_clock_base {
struct hrtimer_cpu_base *cpu_base; struct hrtimer_cpu_base *cpu_base;
...@@ -159,9 +158,6 @@ struct hrtimer_clock_base { ...@@ -159,9 +158,6 @@ struct hrtimer_clock_base {
ktime_t softirq_time; ktime_t softirq_time;
#ifdef CONFIG_HIGH_RES_TIMERS #ifdef CONFIG_HIGH_RES_TIMERS
ktime_t offset; ktime_t offset;
int (*reprogram)(struct hrtimer *t,
struct hrtimer_clock_base *b,
ktime_t n);
#endif #endif
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册