diff mbox series

[v1,1/6] svcrdma: Remove dprintk() call sites in module handlers

Message ID 163413641616.6408.5066105649819002503.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:46 p.m. UTC
As part of the deprecation of dprintk, remove low-value dprintk call
sites in the module init and clean-up functions.

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

Patch

diff --git a/net/sunrpc/xprtrdma/svc_rdma.c b/net/sunrpc/xprtrdma/svc_rdma.c
index 5bc20e9d09cd..2470a7926469 100644
--- a/net/sunrpc/xprtrdma/svc_rdma.c
+++ b/net/sunrpc/xprtrdma/svc_rdma.c
@@ -49,8 +49,6 @@ 
 #include <linux/sunrpc/sched.h>
 #include <linux/sunrpc/svc_rdma.h>
 
-#define RPCDBG_FACILITY	RPCDBG_SVCXPRT
-
 /* RPC/RDMA parameters */
 unsigned int svcrdma_ord = 16;	/* historical default */
 static unsigned int min_ord = 1;
@@ -275,7 +273,6 @@  static int svc_rdma_proc_init(void)
 
 void svc_rdma_cleanup(void)
 {
-	dprintk("SVCRDMA Module Removed, deregister RPC RDMA transport\n");
 	svc_unreg_xprt_class(&svc_rdma_class);
 	svc_rdma_proc_cleanup();
 }
@@ -284,12 +281,6 @@  int svc_rdma_init(void)
 {
 	int rc;
 
-	dprintk("SVCRDMA Module Init, register RPC RDMA transport\n");
-	dprintk("\tsvcrdma_ord      : %d\n", svcrdma_ord);
-	dprintk("\tmax_requests     : %u\n", svcrdma_max_requests);
-	dprintk("\tmax_bc_requests  : %u\n", svcrdma_max_bc_requests);
-	dprintk("\tmax_inline       : %d\n", svcrdma_max_req_size);
-
 	rc = svc_rdma_proc_init();
 	if (rc)
 		return rc;