diff options
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 4 |
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 | } |