]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Eliminate rpcrdma_post_sends()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 Aug 2021 18:44:42 +0000 (14:44 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 Aug 2021 20:42:25 +0000 (16:42 -0400)
commit82e5238d24204983a249a0dcab3ac02cdaa9f9ea
tree4e06389d7cb553afd5633c1845dd64773aaeca37
parent716fc0aa6c2a062e09c060cd857faafa719959fe
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>
net/sunrpc/xprtrdma/backchannel.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h