+2
−2
Loading
If the nvme completion was an error, the function will return, so there is no reason for an else statement. In fact, the else statement in nvme_ctrlr_identify_ns_async_done() differs from the coding style used in other nvme_ctrlr_identify_* functions, and arguably makes the code harder to read. Signed-off-by:Niklas Cassel <niklas.cassel@wdc.com> Change-Id: If76b823b7ca04ab98abb2912927c344ee9f12314 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4265 Community-CI: Broadcom CI Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>