Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52e55cd6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hrtimer: Initialize cpu_base.next_timer to NULL conditionally"

parents cfc3889e 7f311acb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -499,6 +499,12 @@ static ktime_t __hrtimer_next_event_base(struct hrtimer_cpu_base *cpu_base,
	struct hrtimer_clock_base *base;
	ktime_t expires;

	/*
	 * Skip initializing cpu_base->next_timer to NULL as we skip updating
	 * next_timer in below loop if the timer is being exluded.
	 */
	if (!exclude)
		cpu_base->next_timer = NULL;
	for_each_active_base(base, cpu_base, active) {
		struct timerqueue_node *next;
		struct hrtimer *timer;