Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42555
b: refs/heads/master
c: 5847e1f
h: refs/heads/master
i:
  42553: 06d60d6
  42551: 28d7826
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Dec 6, 2006
1 parent 61a8524 commit 5f7c006
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c041b5ff8d50c432698d9bfbd68cc4b76c2ea5bc
refs/heads/master: 5847e1f4d058677c5e46dc6c3e3c70e8855ea3ba
6 changes: 0 additions & 6 deletions trunk/include/linux/sunrpc/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/sunrpc/xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

Expand Down

0 comments on commit 5f7c006

Please sign in to comment.