+29
−26
Loading
By adding the second parameter, hotplug, factor out the common part of remove_cb() and bdev_nvme_delete() into a helper function _bdev_nvme_delete(). Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I5becbc7a7a94e852510e6a2745afb9c533d21713 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6692 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>