diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-01-21 17:03:44 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-01-30 16:47:48 +0100 |
commit | ac920d04a7f307bfd7633f60abe33fb626f6ec83 (patch) | |
tree | 6cc09b1f6f088da7736517e8d3781491eaea6b0c /net/sunrpc/xprtrdma/transport.c | |
parent | xprtrdma: Take struct ib_qp_attr and ib_qp_init_attr off the stack (diff) | |
download | linux-ac920d04a7f307bfd7633f60abe33fb626f6ec83.tar.xz 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/transport.c')
-rw-r--r-- | net/sunrpc/xprtrdma/transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c index a487bde71b4a..808b3c52427a 100644 --- a/net/sunrpc/xprtrdma/transport.c +++ b/net/sunrpc/xprtrdma/transport.c @@ -364,8 +364,7 @@ xprt_setup_rdma(struct xprt_create *args) * any inline data. Also specify any padding which will be provided * from a preregistered zero buffer. */ - rc = rpcrdma_buffer_create(&new_xprt->rx_buf, new_ep, &new_xprt->rx_ia, - &new_xprt->rx_data); + rc = rpcrdma_buffer_create(new_xprt); if (rc) goto out3; |