From: Rafael J. Wysocki Date: Fri, 3 Apr 2015 13:31:32 +0000 (+0200) Subject: timers/PM: Drop unnecessary braces from tick_freeze() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=def747087e83aa5f6a71582cfa71e18341988688;p=linux-beck.git timers/PM: Drop unnecessary braces from tick_freeze() Some braces in tick_freeze() are not necessary, so drop them. Signed-off-by: Rafael J. Wysocki Cc: peterz@infradead.org Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1534128.H5hN3KBFB4@vostro.rjw.lan Signed-off-by: Ingo Molnar --- diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c index ad66a51ca4fa..3ae6afa1eb98 100644 --- a/kernel/time/tick-common.c +++ b/kernel/time/tick-common.c @@ -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); }