aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever2006-12-05 16:36:14 -0500
committerTrond Myklebust2006-12-06 10:46:55 -0500
commit5847e1f4d058677c5e46dc6c3e3c70e8855ea3ba (patch)
tree3f9c266dd713eb16d5c01389c2df39b5ef727d5f
parentc041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc (diff)
SUNRPC: Remove pprintk() from net/sunrpc/xprt.c
These appear to be deprecated. Removing them also gets rid of some sparse noise. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--include/linux/sunrpc/debug.h6
-rw-r--r--net/sunrpc/xprt.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h
index e4729aa67654..60fce3c92857 100644
--- a/include/linux/sunrpc/debug.h
+++ b/include/linux/sunrpc/debug.h
@@ -62,12 +62,6 @@ extern unsigned int nlm_debug;
# define RPC_IFDEBUG(x)
#endif
-#ifdef RPC_PROFILE
-# define pprintk(args...) printk(## args)
-#else
-# define pprintk(args...) do ; while (0)
-#endif
-
/*
* Sysctl interface for RPC debugging
*/
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 8cc2afa2942c..f8ca0a93454c 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -459,7 +459,6 @@ int xprt_adjust_timeout(struct rpc_rqst *req)
if (to->to_maxval && req->rq_timeout >= to->to_maxval)
req->rq_timeout = to->to_maxval;
req->rq_retries++;
- pprintk("RPC: %lu retrans\n", jiffies);
} else {
req->rq_timeout = to->to_initval;
req->rq_retries = 0;
@@ -468,7 +467,6 @@ int xprt_adjust_timeout(struct rpc_rqst *req)
spin_lock_bh(&xprt->transport_lock);
rpc_init_rtt(req->rq_task->tk_client->cl_rtt, to->to_initval);
spin_unlock_bh(&xprt->transport_lock);
- pprintk("RPC: %lu timeout\n", jiffies);
status = -ETIMEDOUT;
}