+0
−7
Loading
The only caller iscsi_conn_handle_incoming_pdus accesses the returned pdu only when the return code is 1. So we can remove update of _pdu for other cases in spdk_iscsi_read_pdu. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I54b9f050c3b45c87f4797a90d7606638d6c821ad Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456771 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>