+5
−4
Loading
Use a local variable to hold the qpair count. While here, also use pg_current to get the min_value, this is a bit simpler to read than things like (*pg)->group. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I65771fb469f021e9e77b8a6c117841b8f4b66af5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15694 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>