summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtrdma/backchannel.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-08-02 14:44:42 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-08-09 16:42:25 -0400
commit8d863b1f0541ea540cb47d1454eb060963a79d5f (patch)
tree4e06389d7cb553afd5633c1845dd64773aaeca37 /net/sunrpc/xprtrdma/backchannel.c
parentd9ae8134f253e8d0e15b1f0127af3b8b5552b90c (diff)
downloadlwn-8d863b1f0541ea540cb47d1454eb060963a79d5f.tar.gz
lwn-8d863b1f0541ea540cb47d1454eb060963a79d5f.zip
xprtrdma: Eliminate rpcrdma_post_sends()
Clean up. Now that there is only one registration mode, there is only one target "post_send" method: frwr_send(). rpcrdma_post_sends() no longer adds much value, especially since all of its call sites ignore the return code value except to check if it's non-zero. Just have them call frwr_send() directly instead. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/backchannel.c')
-rw-r--r--net/sunrpc/xprtrdma/backchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/backchannel.c b/net/sunrpc/xprtrdma/backchannel.c
index 1151efd09b27..17f174d6ea3b 100644
--- a/net/sunrpc/xprtrdma/backchannel.c
+++ b/net/sunrpc/xprtrdma/backchannel.c
@@ -115,7 +115,7 @@ int xprt_rdma_bc_send_reply(struct rpc_rqst *rqst)
if (rc < 0)
goto failed_marshal;
- if (rpcrdma_post_sends(r_xprt, req))
+ if (frwr_send(r_xprt, req))
goto drop_connection;
return 0;