summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever2015-01-21 17:03:44 +0100
committerAnna Schumaker2015-01-30 16:47:48 +0100
commitac920d04a7f307bfd7633f60abe33fb626f6ec83 (patch)
tree6cc09b1f6f088da7736517e8d3781491eaea6b0c /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Take struct ib_qp_attr and ib_qp_init_attr off the stack (diff)
downloadkernel-qcow2-linux-ac920d04a7f307bfd7633f60abe33fb626f6ec83.tar.gz
kernel-qcow2-linux-ac920d04a7f307bfd7633f60abe33fb626f6ec83.tar.xz
kernel-qcow2-linux-ac920d04a7f307bfd7633f60abe33fb626f6ec83.zip
xprtrdma: Simplify synopsis of rpcrdma_buffer_create()
Clean up: There is one call site for rpcrdma_buffer_create(). All of the arguments there are fields of an rpcrdma_xprt. 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/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index 2b4e7787734d..5c2fac3f30b6 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -354,9 +354,7 @@ int rpcrdma_ep_post_recv(struct rpcrdma_ia *, struct rpcrdma_ep *,
/*
* Buffer calls - xprtrdma/verbs.c
*/
-int rpcrdma_buffer_create(struct rpcrdma_buffer *, struct rpcrdma_ep *,
- struct rpcrdma_ia *,
- struct rpcrdma_create_data_internal *);
+int rpcrdma_buffer_create(struct rpcrdma_xprt *);
void rpcrdma_buffer_destroy(struct rpcrdma_buffer *);
struct rpcrdma_req *rpcrdma_buffer_get(struct rpcrdma_buffer *);