mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 08:38:24 +08:00
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>
This commit is contained in:
parent
c041b5ff8d
commit
5847e1f4d0
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user