summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
authorChuck Lever2014-05-28 16:33:08 +0200
committerAnna Schumaker2014-06-04 14:56:40 +0200
commit13c9ff8f673862b69e795ea99a237b461c557eb3 (patch)
tree5436eb5b449ca02cabc8a29e2564db260d5c7408 /net/sunrpc/xprtrdma/rpc_rdma.c
parentxprtrdma: mount reports "Invalid mount option" if memreg mode not supported (diff)
downloadkernel-qcow2-linux-13c9ff8f673862b69e795ea99a237b461c557eb3.tar.gz
kernel-qcow2-linux-13c9ff8f673862b69e795ea99a237b461c557eb3.tar.xz
kernel-qcow2-linux-13c9ff8f673862b69e795ea99a237b461c557eb3.zip
xprtrdma: Simplify rpcrdma_deregister_external() synopsis
Clean up: All remaining callers of rpcrdma_deregister_external() pass NULL as the last argument, so remove that argument. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
-rw-r--r--net/sunrpc/xprtrdma/rpc_rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c
index aae1726ca381..436d229f31dc 100644
--- a/net/sunrpc/xprtrdma/rpc_rdma.c
+++ b/net/sunrpc/xprtrdma/rpc_rdma.c
@@ -270,7 +270,7 @@ rpcrdma_create_chunks(struct rpc_rqst *rqst, struct xdr_buf *target,
out:
for (pos = 0; nchunks--;)
pos += rpcrdma_deregister_external(
- &req->rl_segments[pos], r_xprt, NULL);
+ &req->rl_segments[pos], r_xprt);
return 0;
}