diff options
-rw-r--r-- | drivers/md/raid5.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index d29215d966da..34cb065f6d66 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -3358,7 +3358,6 @@ static void handle_stripe6(struct stripe_head *sh) | |||
3358 | * completed | 3358 | * completed |
3359 | */ | 3359 | */ |
3360 | if (sh->reconstruct_state == reconstruct_state_drain_result) { | 3360 | if (sh->reconstruct_state == reconstruct_state_drain_result) { |
3361 | int qd_idx = sh->qd_idx; | ||
3362 | 3361 | ||
3363 | sh->reconstruct_state = reconstruct_state_idle; | 3362 | sh->reconstruct_state = reconstruct_state_idle; |
3364 | /* All the 'written' buffers and the parity blocks are ready to | 3363 | /* All the 'written' buffers and the parity blocks are ready to |
@@ -3741,7 +3740,7 @@ static int chunk_aligned_read(struct request_queue *q, struct bio * raid_bio) | |||
3741 | { | 3740 | { |
3742 | mddev_t *mddev = q->queuedata; | 3741 | mddev_t *mddev = q->queuedata; |
3743 | raid5_conf_t *conf = mddev->private; | 3742 | raid5_conf_t *conf = mddev->private; |
3744 | unsigned int dd_idx; | 3743 | int dd_idx; |
3745 | struct bio* align_bi; | 3744 | struct bio* align_bi; |
3746 | mdk_rdev_t *rdev; | 3745 | mdk_rdev_t *rdev; |
3747 | 3746 | ||