dbc4e5094a
raid_bdev_config_destroy_check_raid_bdev_exists() and raid_bdev_config_destroy() do almost same operation and can be unified to raid_bdev_config_destroy(). Comment in spdk_rpc_destroy_raid_bdev() about raid_bdev_config_destroy() are duplicated with the one on top of the raid_bdev_config_destroy(). Hence remove the former in this patch too. Change-Id: I4a323bf24d2266e2da7f030c52771013d075eb31 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/424149 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Kunal Sablok <kunal.sablok@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>