diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-03 09:31:32 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-04-03 09:15:52 -0400 |
commit | def747087e83aa5f6a71582cfa71e18341988688 (patch) | |
tree | b13e5c2ae3ee99afb1564c9e2a2d622e70642b87 | |
parent | 422fe7502e3f16dc1c680f22d31f59f022edc10d (diff) |
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 <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: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | kernel/time/tick-common.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) | |||
457 | raw_spin_lock(&tick_freeze_lock); | 457 | raw_spin_lock(&tick_freeze_lock); |
458 | 458 | ||
459 | tick_freeze_depth++; | 459 | tick_freeze_depth++; |
460 | if (tick_freeze_depth == num_online_cpus()) { | 460 | if (tick_freeze_depth == num_online_cpus()) |
461 | timekeeping_suspend(); | 461 | timekeeping_suspend(); |
462 | } else { | 462 | else |
463 | tick_suspend_local(); | 463 | tick_suspend_local(); |
464 | } | ||
465 | 464 | ||
466 | raw_spin_unlock(&tick_freeze_lock); | 465 | raw_spin_unlock(&tick_freeze_lock); |
467 | } | 466 | } |