Skip to content
Commit b46020aa authored by Roman Gushchin's avatar Roman Gushchin Committed by NeilBrown
Browse files

md/raid5: remove redundant check in stripe_add_to_batch_list()



The stripe_add_to_batch_list() function is called only if
stripe_can_batch() returned true, so there is no need for double check.

Signed-off-by: default avatarRoman Gushchin <klamm@yandex-team.ru>
Cc: Neil Brown <neilb@suse.com>
Cc: linux-raid@vger.kernel.org
Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent 16830985
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment