Skip to content

Commit 6c760b3

Browse files
Bart Van Asschedledford
authored andcommitted
iser-target: Remove an unused variable
Detected this by compiling with W=1. Signed-off-by: Bart Van Assche <[email protected]> Cc: Sagi Grimberg <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent 78fc3fc commit 6c760b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/infiniband/ulp/isert/ib_isert.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,6 @@ isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn)
15791579
struct iser_hdr *iser_hdr = &rx_desc->iser_header;
15801580
uint64_t read_va = 0, write_va = 0;
15811581
uint32_t read_stag = 0, write_stag = 0;
1582-
int rc;
15831582

15841583
switch (iser_hdr->flags & 0xF0) {
15851584
case ISCSI_CTRL:
@@ -1606,8 +1605,8 @@ isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn)
16061605
break;
16071606
}
16081607

1609-
rc = isert_rx_opcode(isert_conn, rx_desc,
1610-
read_stag, read_va, write_stag, write_va);
1608+
isert_rx_opcode(isert_conn, rx_desc,
1609+
read_stag, read_va, write_stag, write_va);
16111610
}
16121611

16131612
static void

0 commit comments

Comments
 (0)