Skip to content

Commit

Permalink
timers/PM: Drop unnecessary braces from tick_freeze()
Browse files Browse the repository at this point in the history
Some braces in tick_freeze() are not necessary, so drop them.

Signed-off-by: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
rafaeljw authored and Ingo Molnar committed Apr 3, 2015
1 parent 422fe75 commit def7470
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kernel/time/tick-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit def7470

Please sign in to comment.