SUNRPC: Remove dprintk call site in call_decode
authorChuck Lever <chuck.lever@oracle.com>
Wed, 8 Jul 2020 20:10:08 +0000 (16:10 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 21 Sep 2020 14:21:09 +0000 (10:21 -0400)
Clean up.

When enabled, this dprintk adds a line in /var/log/messages after
every RPC that reports the task ID (no connection to on the wire
XID values) and the RPC's result (no connection to the program,
operation, or the arguments and results).

Thus it's value is pretty low. Let's remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c

index af7c88e..e13db51 100644 (file)
@@ -2497,8 +2497,6 @@ out:
        case 0:
                task->tk_action = rpc_exit_task;
                task->tk_status = rpcauth_unwrap_resp(task, &xdr);
-               dprintk("RPC: %5u %s result %d\n",
-                       task->tk_pid, __func__, task->tk_status);
                return;
        case -EAGAIN:
                task->tk_status = 0;