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> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |