iser-target: Remove an unused variable

Detected this by compiling with W=1.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Bart Van Assche 2015-10-22 11:14:18 -07:00 committed by Doug Ledford
parent 78fc3fc4cc
commit 6c760b3dd5

View file

@ -1579,7 +1579,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; struct iser_hdr *iser_hdr = &rx_desc->iser_header;
uint64_t read_va = 0, write_va = 0; uint64_t read_va = 0, write_va = 0;
uint32_t read_stag = 0, write_stag = 0; uint32_t read_stag = 0, write_stag = 0;
int rc;
switch (iser_hdr->flags & 0xF0) { switch (iser_hdr->flags & 0xF0) {
case ISCSI_CTRL: case ISCSI_CTRL:
@ -1606,7 +1605,7 @@ isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn)
break; break;
} }
rc = isert_rx_opcode(isert_conn, rx_desc, isert_rx_opcode(isert_conn, rx_desc,
read_stag, read_va, write_stag, write_va); read_stag, read_va, write_stag, write_va);
} }