IB/iser: Remove an unused variable
Subsystems (2)
PATCH 1/1 IB/iser: Remove an unused variable
Detected this by compiling with W=1.
Signed-off-by Bart Van Assche <[email protected]>
Cc Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/[email protected]>
--- drivers/infiniband/ulp/iser/iscsi_iser.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/infiniband/ulp/iser/iscsi_iser.c +0 -4
@@ -121,7 +121,6 @@ iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, {int rc =0 ;int datalen; -int ahslen;/* verify PDU length */ datalen =ntoh24 (hdr->dlength);
@@ -136,9 +135,6 @@ iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr,iser_dbg ("aligned datalen (%d) hdr, %d (IB)\n" , datalen, rx_data_len); -/* read AHS */ - ahslen = hdr->hlength *4 ; - rc =iscsi_complete_pdu (conn, hdr, rx_data, rx_data_len);if (rc && rc !=ISCSI_ERR_NO_SCSI_CMD ) goto error;
Signature · 6 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Bart Van Assche
Detected this by compiling with W=1.
Signed-off-by Bart Van Assche <[email protected]>Cc Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/[email protected]>
Thanks Bart, applied.
Signature · 2 lines
Doug Ledford <[email protected]> GPG KeyID: 0E572FDD
Sagi Grimberg
Reviewed-byQuoted 4 lines
Detected this by compiling with W=1.
Signed-off-by Bart Van Assche <[email protected]>Cc Sagi Grimberg <sagig-VPRAkNaXOzVWk0Htik3J/[email protected]>
FWIW,
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html