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

Commit def74708 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki Committed by Ingo Molnar
Browse files

timers/PM: Drop unnecessary braces from tick_freeze()



Some braces in tick_freeze() are not necessary, so drop them.

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: peterz@infradead.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1534128.H5hN3KBFB4@vostro.rjw.lan


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 422fe750
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -457,11 +457,10 @@ void tick_freeze(void)
	raw_spin_lock(&tick_freeze_lock);

	tick_freeze_depth++;
	if (tick_freeze_depth == num_online_cpus()) {
	if (tick_freeze_depth == num_online_cpus())
		timekeeping_suspend();
	} else {
	else
		tick_suspend_local();
	}

	raw_spin_unlock(&tick_freeze_lock);
}