NeilBrown 87a8dec91e md: simplify some 'if' conditionals in raid5_start_reshape.
There are two consecutive 'if' statements.

 if (mddev->delta_disks >= 0)
      ....
 if (mddev->delta_disks > 0)

The code in the second is equally valid if delta_disks == 0, and these
two statements are the only place that 'added_devices' is used.

So make them a single if statement, make added_devices a local
variable, and re-indent it all.

No functional change.

Signed-off-by: NeilBrown <neilb@suse.de>
2011-01-31 11:57:43 +11:00
..
2011-01-13 19:59:55 +00:00
2010-08-12 04:14:11 +01:00
2011-01-13 20:00:02 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2010-08-12 04:14:08 +01:00
2011-01-13 20:00:02 +00:00
2010-09-10 12:35:38 +02:00
2011-01-13 20:00:02 +00:00
2011-01-14 09:14:34 +11:00
2010-09-10 12:35:38 +02:00
2010-09-10 12:35:38 +02:00
2011-01-14 09:14:33 +11:00
2010-10-29 16:40:33 +11:00
2010-09-10 12:35:38 +02:00
2011-01-14 09:14:33 +11:00