iser-target: Remove an unused variable
Subsystems (2)
PATCH 1/1 iser-target: 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/isert/ib_isert.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/infiniband/ulp/isert/ib_isert.c +2 -3
@@ -1550,7 +1550,6 @@ isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn)struct iser_hdr *iser_hdr = &rx_desc->iser_header;uint64_t read_va =0 , write_va =0 ;uint32_t read_stag =0 , write_stag =0 ; -int rc;switch (iser_hdr->flags &0xF0 ) {case ISCSI_CTRL :
@@ -1577,8 +1576,8 @@ isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn)break ; } - rc =isert_rx_opcode (isert_conn, rx_desc, - read_stag, read_va, write_stag, write_va); +isert_rx_opcode (isert_conn, rx_desc, + read_stag, read_va, write_stag, write_va); } static void
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
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 · 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]>
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