Merge tag 'timers-v5.6' of https://git.linaro.org/people/daniel.lezcano/linux into...
[linux-2.6-microblaze.git] / drivers / clocksource / timer-of.c
index 8c11bd7..572da47 100644 (file)
@@ -25,7 +25,9 @@ static __init void timer_of_irq_exit(struct of_timer_irq *of_irq)
 
        struct clock_event_device *clkevt = &to->clkevt;
 
-       of_irq->percpu ? free_percpu_irq(of_irq->irq, clkevt) :
+       if (of_irq->percpu)
+               free_percpu_irq(of_irq->irq, clkevt);
+       else
                free_irq(of_irq->irq, clkevt);
 }