aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
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 /kernel
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 'kernel')
-rw-r--r--kernel/hrtimer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 03ea1378c43b..4d761d50c529 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1401,9 +1401,7 @@ void hrtimer_run_queues(void)
1401 if (!base->first) 1401 if (!base->first)
1402 continue; 1402 continue;
1403 1403
1404 if (base->get_softirq_time) 1404 if (gettime) {
1405 base->softirq_time = base->get_softirq_time();
1406 else if (gettime) {
1407 hrtimer_get_softirq_time(cpu_base); 1405 hrtimer_get_softirq_time(cpu_base);
1408 gettime = 0; 1406 gettime = 0;
1409 } 1407 }