summaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorMark McLoughlin2008-09-19 14:13:44 +0200
committerIngo Molnar2008-09-22 13:52:42 +0200
commitd7cfb60c5cf904ecf1e0ae23ec178175b86f0d4a (patch)
tree750200d0bd2e5fc94d574c9d9cd6131f93a279a7 /include/linux/hrtimer.h
parentmigrate_timers: add comment, use spinlock_irq() (diff)
downloadkernel-qcow2-linux-d7cfb60c5cf904ecf1e0ae23ec178175b86f0d4a.tar.gz
kernel-qcow2-linux-d7cfb60c5cf904ecf1e0ae23ec178175b86f0d4a.tar.xz
kernel-qcow2-linux-d7cfb60c5cf904ecf1e0ae23ec178175b86f0d4a.zip
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 {
* @first: pointer to the timer node which expires first
* @resolution: the resolution of the clock, in nanoseconds
* @get_time: function to retrieve the current time of the clock
- * @get_softirq_time: function to retrieve the current time from the softirq
* @softirq_time: the time when running the hrtimer queue in the softirq
* @offset: offset of this clock to the monotonic base
* @reprogram: function to reprogram the timer event
@@ -157,7 +156,6 @@ struct hrtimer_clock_base {
struct rb_node *first;
ktime_t resolution;
ktime_t (*get_time)(void);
- ktime_t (*get_softirq_time)(void);
ktime_t softirq_time;
#ifdef CONFIG_HIGH_RES_TIMERS
ktime_t offset;