+4
−5
Loading
It makes the code a bit more concise. Also, remove the tctrlr != NULL assertion, as this function is only called from one place and it's impossible for tctrlr to be NULL. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I886e0be8db9e398c4eb905351014e7af3eeed47c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21742 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>