]> 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)
commit4f51c5e45cec2c18f466100c66e4cb10828bc963
tree45547cfff8997a3a633490341f8166dc6d00e962
parent65e835282bc4522f22b88179f3ce773386c36ef0
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