iser-target: Remove unused variables
authorJenny Derzhavetz <jennyf@mellanox.com>
Sun, 6 Sep 2015 11:52:22 +0000 (14:52 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 15 Sep 2015 22:47:23 +0000 (15:47 -0700)
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>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h

index c8749a9e1ccd9d54bf723d3856b359207e6f5763..97475b2eecb7f51b6b1700e265ff6550b38ae4d1 100644 (file)
@@ -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;
 
        /*
index 6a04ba3c0f7224563e3432dffa38c4fcd12fad83..0480ab89ea40cce04073900efd23043f48a0c366 100644 (file)
@@ -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;
 };