md: remove unnecessary code from do_md_run
authorNeilBrown <neilb@suse.de>
Wed, 30 Dec 2009 04:19:08 +0000 (15:19 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 30 Dec 2009 04:20:43 +0000 (15:20 +1100)
commit7fb9dadc91948ddd16d1d32e414b5e71ec63b97b
treed64379c9b336a2792f1877383bdcdd92e837070b
parenta2d79c324ac0c26ae9995a312a7731067a7f01fc
md: remove unnecessary code from do_md_run

Since commit dfc7064500061677720fa26352963c772d3ebe6b,
->hot_remove_disks has not removed non-failed devices from
an array until recovery is no longer possible.
So the code in do_md_run to get around the fact that
md_check_recovery (which calls ->hot_remove_disks) would
remove partially-in-sync devices is no longer needed.

So remove it.

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