+2
−4
Loading
Data segment length of the PDU is already cached in pdu->data_segment_len. Hence additional caching to the local variable data_len is not necessary. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I1e596999640229b1b0fa85cbdb342b1636af5076 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471879 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>