summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJenny Derzhavetz <jennyf@mellanox.com>2015-09-06 14:52:22 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-09-15 15:47:23 -0700
commitf27dfa1f0eb91494577a395e6b8a9aac2832e9cf (patch)
treedf45762fcc59a3fd338fb31dbf1594a4c8215abb /drivers
parent3e03c4b01da3e6a5f3081eb0aa252490fe83e352 (diff)
downloadlinux-stable-f27dfa1f0eb91494577a395e6b8a9aac2832e9cf.tar.gz
linux-stable-f27dfa1f0eb91494577a395e6b8a9aac2832e9cf.tar.bz2
linux-stable-f27dfa1f0eb91494577a395e6b8a9aac2832e9cf.zip
iser-target: Remove unused variables
Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com> Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/ulp/isert/ib_isert.c1
-rw-r--r--drivers/infiniband/ulp/isert/ib_isert.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c
index c8749a9e1ccd..97475b2eecb7 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.c
+++ b/drivers/infiniband/ulp/isert/ib_isert.c
@@ -3116,7 +3116,6 @@ isert_setup_np(struct iscsi_np *np,
sema_init(&isert_np->np_sem, 0);
mutex_init(&isert_np->np_accept_mutex);
INIT_LIST_HEAD(&isert_np->np_accept_list);
- init_completion(&isert_np->np_login_comp);
isert_np->np = np;
/*
diff --git a/drivers/infiniband/ulp/isert/ib_isert.h b/drivers/infiniband/ulp/isert/ib_isert.h
index 6a04ba3c0f72..0480ab89ea40 100644
--- a/drivers/infiniband/ulp/isert/ib_isert.h
+++ b/drivers/infiniband/ulp/isert/ib_isert.h
@@ -113,7 +113,6 @@ enum {
};
struct isert_rdma_wr {
- struct list_head wr_list;
struct isert_cmd *isert_cmd;
enum iser_ib_op_code iser_ib_op;
struct ib_sge *ib_sge;
@@ -134,9 +133,6 @@ struct isert_cmd {
uint64_t write_va;
u64 pdu_buf_dma;
u32 pdu_buf_len;
- u32 read_va_off;
- u32 write_va_off;
- u32 rdma_wr_num;
struct isert_conn *conn;
struct iscsi_cmd *iscsi_cmd;
struct iser_tx_desc tx_desc;
@@ -226,5 +222,4 @@ struct isert_np {
struct rdma_cm_id *np_cm_id;
struct mutex np_accept_mutex;
struct list_head np_accept_list;
- struct completion np_login_comp;
};