]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2dc5af7272ccdf474371b2f0aaf609604099c598
tree45547cfff8997a3a633490341f8166dc6d00e962
parenta7693328bc07df43b094f9c1a37f272e208c9a87
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