Commit f27dfa1f authored by Jenny Derzhavetz's avatar Jenny Derzhavetz Committed by Nicholas Bellinger

iser-target: Remove unused variables

Signed-off-by: default avatarJenny Derzhavetz <jennyf@mellanox.com>
Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 3e03c4b0
...@@ -3116,7 +3116,6 @@ isert_setup_np(struct iscsi_np *np, ...@@ -3116,7 +3116,6 @@ isert_setup_np(struct iscsi_np *np,
sema_init(&isert_np->np_sem, 0); sema_init(&isert_np->np_sem, 0);
mutex_init(&isert_np->np_accept_mutex); mutex_init(&isert_np->np_accept_mutex);
INIT_LIST_HEAD(&isert_np->np_accept_list); INIT_LIST_HEAD(&isert_np->np_accept_list);
init_completion(&isert_np->np_login_comp);
isert_np->np = np; isert_np->np = np;
/* /*
......
...@@ -113,7 +113,6 @@ enum { ...@@ -113,7 +113,6 @@ enum {
}; };
struct isert_rdma_wr { struct isert_rdma_wr {
struct list_head wr_list;
struct isert_cmd *isert_cmd; struct isert_cmd *isert_cmd;
enum iser_ib_op_code iser_ib_op; enum iser_ib_op_code iser_ib_op;
struct ib_sge *ib_sge; struct ib_sge *ib_sge;
...@@ -134,9 +133,6 @@ struct isert_cmd { ...@@ -134,9 +133,6 @@ struct isert_cmd {
uint64_t write_va; uint64_t write_va;
u64 pdu_buf_dma; u64 pdu_buf_dma;
u32 pdu_buf_len; u32 pdu_buf_len;
u32 read_va_off;
u32 write_va_off;
u32 rdma_wr_num;
struct isert_conn *conn; struct isert_conn *conn;
struct iscsi_cmd *iscsi_cmd; struct iscsi_cmd *iscsi_cmd;
struct iser_tx_desc tx_desc; struct iser_tx_desc tx_desc;
...@@ -226,5 +222,4 @@ struct isert_np { ...@@ -226,5 +222,4 @@ struct isert_np {
struct rdma_cm_id *np_cm_id; struct rdma_cm_id *np_cm_id;
struct mutex np_accept_mutex; struct mutex np_accept_mutex;
struct list_head np_accept_list; struct list_head np_accept_list;
struct completion np_login_comp;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment