+26
−23
Loading
Pointers to struct spdk_nvmf_request and struct ibv_send_wr are used in many lines of spdk_nvmf_rdma_request_parse_sgl(). Caching and using them simplifies and improves readability a little for spdk_nvmf_rdma_request_parse_sgl(). Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ib000c9d4e7fb7bb415f4ac4622b32b12cc787c80 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469537 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>