diff options
author | Jiri Slaby <jslaby@suse.cz> | 2014-03-27 09:52:01 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-27 09:58:10 +0100 |
commit | fb5277ee5110caec1e8483b8f092e4a7de94d65c (patch) | |
tree | 7997d83f12de6fec1bcb18a211b38ed38b964c3c | |
parent | e86b14ce46d56f6f84ccacec45466d9b18bef1c2 (diff) | |
download | linux-stable-fb5277ee5110caec1e8483b8f092e4a7de94d65c.tar.gz linux-stable-fb5277ee5110caec1e8483b8f092e4a7de94d65c.tar.bz2 linux-stable-fb5277ee5110caec1e8483b8f092e4a7de94d65c.zip |
iscsi/iser-target: fix build warning
With upstream commit defd884845297fd5690594bfe89656b01f16d87e, 3.12
commit 2f82fa987df6b060241fc760eadf5dd02c51a979, we introduced a
warning:
drivers/infiniband/ulp/isert/ib_isert.c: In function 'isert_cq_rx_comp_err':
drivers/infiniband/ulp/isert/ib_isert.c:##L##: warning: unused variable 'ib_dev' [-Wunused-variable]
Remove ib_dev as it is unused.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index ba93ef85652d..09c71293ab4b 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c @@ -1652,7 +1652,6 @@ isert_cq_tx_comp_err(struct iser_tx_desc *tx_desc, struct isert_conn *isert_conn static void isert_cq_rx_comp_err(struct isert_conn *isert_conn) { - struct ib_device *ib_dev = isert_conn->conn_cm_id->device; struct iscsi_conn *conn = isert_conn->conn; if (isert_conn->post_recv_buf_count) |