xprtrdma: Remove rpcrdma_ep::rep_ia
authorChuck Lever <chuck.lever@oracle.com>
Wed, 21 Jan 2015 16:02:46 +0000 (11:02 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 30 Jan 2015 15:47:48 +0000 (10:47 -0500)
Clean up: This field is not used.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h

index 56f705d63d5ced32c2dd241150ae42292b9f9e2d..56e14b369d42cc8b4d2dbdcbd8b63891688bc585 100644 (file)
@@ -825,7 +825,6 @@ rpcrdma_ep_create(struct rpcrdma_ep *ep, struct rpcrdma_ia *ia,
        else if (ep->rep_cqinit <= 2)
                ep->rep_cqinit = 0;
        INIT_CQCOUNT(ep);
-       ep->rep_ia = ia;
        init_waitqueue_head(&ep->rep_connect_wait);
        INIT_DELAYED_WORK(&ep->rep_connect_worker, rpcrdma_connect_worker);
 
index 9a7aab31bf6e76164b1a612bfebaf196e51878f3..5160a84fdb72ef77b37c9a854277a61805b59fa1 100644 (file)
@@ -83,7 +83,6 @@ struct rpcrdma_ep {
        atomic_t                rep_cqcount;
        int                     rep_cqinit;
        int                     rep_connected;
-       struct rpcrdma_ia       *rep_ia;
        struct ib_qp_init_attr  rep_attr;
        wait_queue_head_t       rep_connect_wait;
        struct ib_sge           rep_pad;        /* holds zeroed pad */