aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-09-19 08:13:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-22 07:52:42 -0400
commitd7cfb60c5cf904ecf1e0ae23ec178175b86f0d4a (patch)
tree750200d0bd2e5fc94d574c9d9cd6131f93a279a7 /include/linux/hrtimer.h
parentd82f0b0f6f1a0a25afc288fb7135b1601fe6df18 (diff)
hrtimer: remove hrtimer_clock_base::get_softirq_time()
Peter Zijlstra noticed this 8 months ago and I just noticed it again. hrtimer_clock_base::get_softirq_time() is currently unused in the entire tree. In fact, looking at the logs, it appears as if it was never used. Remove it. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 6d93dce61cbb..1b079bd29c35 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -145,7 +145,6 @@ struct hrtimer_sleeper {
145 * @first: pointer to the timer node which expires first 145 * @first: pointer to the timer node which expires first
146 * @resolution: the resolution of the clock, in nanoseconds 146 * @resolution: the resolution of the clock, in nanoseconds
147 * @get_time: function to retrieve the current time of the clock 147 * @get_time: function to retrieve the current time of the clock
148 * @get_softirq_time: function to retrieve the current time from the softirq
149 * @softirq_time: the time when running the hrtimer queue in the softirq 148 * @softirq_time: the time when running the hrtimer queue in the softirq
150 * @offset: offset of this clock to the monotonic base 149 * @offset: offset of this clock to the monotonic base
151 * @reprogram: function to reprogram the timer event 150 * @reprogram: function to reprogram the timer event
@@ -157,7 +156,6 @@ struct hrtimer_clock_base {
157 struct rb_node *first; 156 struct rb_node *first;
158 ktime_t resolution; 157 ktime_t resolution;
159 ktime_t (*get_time)(void); 158 ktime_t (*get_time)(void);
160 ktime_t (*get_softirq_time)(void);
161 ktime_t softirq_time; 159 ktime_t softirq_time;
162#ifdef CONFIG_HIGH_RES_TIMERS 160#ifdef CONFIG_HIGH_RES_TIMERS
163 ktime_t offset; 161 ktime_t offset;