projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fc3fc
)
iser-target: Remove an unused variable
author
Bart Van Assche
<
[email protected]
>
Thu, 22 Oct 2015 18:14:18 +0000
(11:14 -0700)
committer
Doug Ledford
<
[email protected]
>
Thu, 22 Oct 2015 22:37:47 +0000
(18:37 -0400)
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]
>
drivers/infiniband/ulp/isert/ib_isert.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/isert/ib_isert.c
b/drivers/infiniband/ulp/isert/ib_isert.c
index aa59037d75040b7d6e1126bb620339c1c603bc89..b58ac25ce19d6b41089880ca85476579eea27837 100644
(file)
--- a/
drivers/infiniband/ulp/isert/ib_isert.c
+++ b/
drivers/infiniband/ulp/isert/ib_isert.c
@@
-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;
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:
@@
-1606,8
+1605,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