md/raid10: simplify/reindent some loops.
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
commit1294b9c973251a5e68b62c9b40dd914517bda675
tree45547cfff8997a3a633490341f8166dc6d00e962
parentb84db560ead5417b5594349512baf8837959df4f
md/raid10: simplify/reindent some loops.

When a loop ends with a large if, it can be neater to change the
if to invert the condition and just 'continue'.
Then the body of the if can be indented to a lower level.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c