[PATCH V2 04/36] hrtimer: remove {} around a single liner 'for' loop in migrate_hrtimers()

From: Viresh Kumar
Date: Fri Apr 04 2014 - 02:51:10 EST


'for' loop in migrate_hrtimers() has only one line in its body and so doesn't
require {} as per coding guidelines. Remove it.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
kernel/hrtimer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index c87e896..514b53a 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -1712,10 +1712,9 @@ static void migrate_hrtimers(int scpu)
raw_spin_lock(&new_base->lock);
raw_spin_lock_nested(&old_base->lock, SINGLE_DEPTH_NESTING);

- for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
+ for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++)
migrate_hrtimer_list(&old_base->clock_base[i],
&new_base->clock_base[i]);
- }

raw_spin_unlock(&old_base->lock);
raw_spin_unlock(&new_base->lock);
--
1.7.12.rc2.18.g61b472e

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/