diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2017-08-03 14:30:36 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-08-08 10:52:00 -0400 |
commit | fdf503e302c5e6ec136703b25bde989a34f0f27f (patch) | |
tree | da12b9801b2dc5cba3389dbdfa142971f0eaf736 /net | |
parent | 264b0cdbcb93e6d7b419fcc82fca9413a13f87ae (diff) | |
download | linux-fdf503e302c5e6ec136703b25bde989a34f0f27f.tar.gz linux-fdf503e302c5e6ec136703b25bde989a34f0f27f.tar.bz2 linux-fdf503e302c5e6ec136703b25bde989a34f0f27f.zip |
xprtrdma: Remove opcode check in Receive completion handler
Clean up: The opcode check is no longer necessary, because since
commit 2fa8f88d8892 ("xprtrdma: Use new CQ API for RPC-over-RDMA
client send CQs"), this completion handler is invoked only for
RECV work requests.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index f1b1c372f7fb..74dbba84ad38 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c @@ -173,9 +173,6 @@ rpcrdma_wc_receive(struct ib_cq *cq, struct ib_wc *wc) goto out_fail; /* status == SUCCESS means all fields in wc are trustworthy */ - if (wc->opcode != IB_WC_RECV) - return; - dprintk("RPC: %s: rep %p opcode 'recv', length %u: success\n", __func__, rep, wc->byte_len); |