Spdk/module
Shuhei Matsumoto edced1368d bdev/nvme: Factor out depopulate all namespaces into a helper function
We have two functions, remove_cb() and bdev_nvme_library_fini() to
depopulate all existing namespaces.

Factoring out the operation into a helper function
nvme_ctrlr_depopulate_namespaces() will improve the readability.

Besides, change the line after return value for two functions to
adjust format.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ibda921bdc94a50c14cca0ece462f76197efc5ccb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4642
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-10-19 10:00:16 +00:00
..
accel log: remove internal log.h header 2020-10-15 08:23:39 +00:00
bdev bdev/nvme: Factor out depopulate all namespaces into a helper function 2020-10-19 10:00:16 +00:00
blob lib/bdev: Add spdk_bdev_abort API 2020-06-08 09:28:27 +00:00
blobfs log: remove internal log.h header 2020-10-15 08:23:39 +00:00
env_dpdk log: remove internal log.h header 2020-10-15 08:23:39 +00:00
event nvmf: let transports parse transport opts from JSON themselves 2020-10-19 09:55:05 +00:00
sock lib/sock: zero out sock_impl opts 2020-10-16 08:15:10 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00