935c0b4745
The condition that both raid_bdev and raid_bdev->base_bdev_info[i].bdev are not NULL is already verified by matching it with base_bdev. This is a preparation to the further refactoring in the next patch. Change-Id: I273a31c2ff2f79caf52b59938eee547129768abe Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/430511 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Piotr Pelpliński <piotr.pelplinski@intel.com>