diff options
-rw-r--r-- | kernel/hrtimer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index f679a2d08723..63fb74972b75 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -681,14 +681,6 @@ static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base) | |||
681 | } | 681 | } |
682 | 682 | ||
683 | /* | 683 | /* |
684 | * Initialize the high resolution related parts of a hrtimer | ||
685 | */ | ||
686 | static inline void hrtimer_init_timer_hres(struct hrtimer *timer) | ||
687 | { | ||
688 | } | ||
689 | |||
690 | |||
691 | /* | ||
692 | * When High resolution timers are active, try to reprogram. Note, that in case | 684 | * When High resolution timers are active, try to reprogram. Note, that in case |
693 | * the state has HRTIMER_STATE_CALLBACK set, no reprogramming and no expiry | 685 | * the state has HRTIMER_STATE_CALLBACK set, no reprogramming and no expiry |
694 | * check happens. The timer gets enqueued into the rbtree. The reprogramming | 686 | * check happens. The timer gets enqueued into the rbtree. The reprogramming |
@@ -759,7 +751,6 @@ static inline int hrtimer_enqueue_reprogram(struct hrtimer *timer, | |||
759 | return 0; | 751 | return 0; |
760 | } | 752 | } |
761 | static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base) { } | 753 | static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base) { } |
762 | static inline void hrtimer_init_timer_hres(struct hrtimer *timer) { } | ||
763 | 754 | ||
764 | #endif /* CONFIG_HIGH_RES_TIMERS */ | 755 | #endif /* CONFIG_HIGH_RES_TIMERS */ |
765 | 756 | ||
@@ -1141,7 +1132,6 @@ static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, | |||
1141 | 1132 | ||
1142 | base = hrtimer_clockid_to_base(clock_id); | 1133 | base = hrtimer_clockid_to_base(clock_id); |
1143 | timer->base = &cpu_base->clock_base[base]; | 1134 | timer->base = &cpu_base->clock_base[base]; |
1144 | hrtimer_init_timer_hres(timer); | ||
1145 | timerqueue_init(&timer->node); | 1135 | timerqueue_init(&timer->node); |
1146 | 1136 | ||
1147 | #ifdef CONFIG_TIMER_STATS | 1137 | #ifdef CONFIG_TIMER_STATS |