diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-01-21 11:02:46 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-01-30 10:47:48 -0500 |
commit | 5d410ba061c1e4bc0068ce91f2cf349998cde46c (patch) | |
tree | 603ee1f896f9f73d420b91cce687c1665d8f5316 /net | |
parent | 5abefb861fd4306467813380cf21ce21d4b274ce (diff) |
xprtrdma: Remove rpcrdma_ep::rep_ia
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 1 | ||||
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index 56f705d63d5c..56e14b369d42 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c | |||
@@ -825,7 +825,6 @@ rpcrdma_ep_create(struct rpcrdma_ep *ep, struct rpcrdma_ia *ia, | |||
825 | else if (ep->rep_cqinit <= 2) | 825 | else if (ep->rep_cqinit <= 2) |
826 | ep->rep_cqinit = 0; | 826 | ep->rep_cqinit = 0; |
827 | INIT_CQCOUNT(ep); | 827 | INIT_CQCOUNT(ep); |
828 | ep->rep_ia = ia; | ||
829 | init_waitqueue_head(&ep->rep_connect_wait); | 828 | init_waitqueue_head(&ep->rep_connect_wait); |
830 | INIT_DELAYED_WORK(&ep->rep_connect_worker, rpcrdma_connect_worker); | 829 | INIT_DELAYED_WORK(&ep->rep_connect_worker, rpcrdma_connect_worker); |
831 | 830 | ||
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index 9a7aab31bf6e..5160a84fdb72 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h | |||
@@ -83,7 +83,6 @@ struct rpcrdma_ep { | |||
83 | atomic_t rep_cqcount; | 83 | atomic_t rep_cqcount; |
84 | int rep_cqinit; | 84 | int rep_cqinit; |
85 | int rep_connected; | 85 | int rep_connected; |
86 | struct rpcrdma_ia *rep_ia; | ||
87 | struct ib_qp_init_attr rep_attr; | 86 | struct ib_qp_init_attr rep_attr; |
88 | wait_queue_head_t rep_connect_wait; | 87 | wait_queue_head_t rep_connect_wait; |
89 | struct ib_sge rep_pad; /* holds zeroed pad */ | 88 | struct ib_sge rep_pad; /* holds zeroed pad */ |