diff mbox series

[v1,3/6] svcrdma: Remove dprintk call site in svc_rdma_parse_connect_private()

Message ID 163413642926.6408.7192303522581995956.stgit@bazille.1015granger.net (mailing list archive)
State Not Applicable
Headers show
Series Deprecate dprintk in svcrdma | expand

Commit Message

Chuck Lever III Oct. 13, 2021, 2:47 p.m. UTC
Deprecation. The effect of the RPCRDMA_CMP_F_SND_W_INV_OK setting is
obvious from subsequent server activity.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 net/sunrpc/xprtrdma/svc_rdma_transport.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c
index 9aea253af2da..11cecfb7761a 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_transport.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c
@@ -164,16 +164,9 @@  svc_rdma_parse_connect_private(struct svcxprt_rdma *newxprt,
 
 	if (pmsg &&
 	    pmsg->cp_magic == rpcrdma_cmp_magic &&
-	    pmsg->cp_version == RPCRDMA_CMP_VERSION) {
+	    pmsg->cp_version == RPCRDMA_CMP_VERSION)
 		newxprt->sc_snd_w_inv = pmsg->cp_flags &
 					RPCRDMA_CMP_F_SND_W_INV_OK;
-
-		dprintk("svcrdma: client send_size %u, recv_size %u "
-			"remote inv %ssupported\n",
-			rpcrdma_decode_buffer_size(pmsg->cp_send_size),
-			rpcrdma_decode_buffer_size(pmsg->cp_recv_size),
-			newxprt->sc_snd_w_inv ? "" : "un");
-	}
 }
 
 /*