+2
−1
Loading
It is not possible for dev to be NULL if can_detach is true, so modify the if statement to reflect reality. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I1d1a6c91325a7a54def7cc6e15e75c21cab8016b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21088 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot