[PATCH v1 06/14] SUNRPC: Remove dprintk call site from bc_svc_process()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Deprecation. Enabling tracepoints in the RPC client gives similar
observability.

Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
---
 net/sunrpc/svc.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 8ca60bfaa073..dbc44178daac 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1472,7 +1472,6 @@ svc_process(struct svc_rqst *rqstp)
 	dir  = svc_getnl(argv);
 	if (dir != 0) {
 		/* direction != CALL */
-		svc_printk(rqstp, "bad direction %d, dropping request\n", dir);
 		serv->sv_stats->rpcbadfmt++;
 		goto out_drop;
 	}
@@ -1502,8 +1501,6 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
 	int proc_error;
 	int error;
 
-	dprintk("svc: %s(%p)\n", __func__, req);
-
 	/* Build the svc_rqst used by the common processing routine */
 	rqstp->rq_xid = req->rq_xid;
 	rqstp->rq_prot = req->rq_xprt->prot;
@@ -1561,7 +1558,6 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
 	rpc_put_task(task);
 
 out:
-	dprintk("svc: %s(), error=%d\n", __func__, error);
 	return error;
 }
 EXPORT_SYMBOL_GPL(bc_svc_process);




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux