0bd8e75199
There remove callback function will remove the nvme_bdev from the global list, we do not need to remove the device in the function bdev_nvme_destruct(). just make sure to remove it from list when the app exit. Change-Id: I1859bfd696ed9c0ca3ac1cd8ffadfd9488df0fcd Signed-off-by: Cunyin Chang <cunyin.chang@intel.com> Reviewed-on: https://review.gerrithub.io/375941 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>