diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 704ef7fcfbf83239ff7ac119d37354576dea5221..22362505f810fcd9825ea4683bcf1d40285a8208 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -772,8 +772,6 @@ static void stripe_add_to_batch_list(struct r5conf *conf, struct stripe_head *sh int hash; int dd_idx; - if (!stripe_can_batch(sh)) - return; /* Don't cross chunks, so stripe pd_idx/qd_idx is the same */ tmp_sec = sh->sector; if (!sector_div(tmp_sec, conf->chunk_sectors))