+34
−9
Loading
Instead of iterating the list, we can just manipulate the list in a single step. Signed-off-by:Ben Walker <benjamin.walker@intel.com> Change-Id: I0172cdbce9af35a62d62dbccfac573e5d723f43a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6747 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Community-CI: Mellanox Build Bot