aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-28 05:51:37 -0500
committerDavid S. Miller <davem@davemloft.net>2015-03-01 13:40:23 -0500
commit765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7 (patch)
tree909d2f6c9ab0984f048c4a597835f2b2ed354ba5
parentc03ae533a9c4de83a35105f9bfd7152d916b4680 (diff)
rxrpc: don't multiply with HZ twice
rxrpc_resend_timeout has an initial value of 4 * HZ; use it as-is. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rxrpc/ar-ack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/ar-ack.c
index 40404183a5da..e0547f521f20 100644
--- a/net/rxrpc/ar-ack.c
+++ b/net/rxrpc/ar-ack.c
@@ -260,7 +260,7 @@ static void rxrpc_resend(struct rxrpc_call *call)
260 sp->resend_at = jiffies + 3; 260 sp->resend_at = jiffies + 3;
261 } else { 261 } else {
262 sp->resend_at = 262 sp->resend_at =
263 jiffies + rxrpc_resend_timeout * HZ; 263 jiffies + rxrpc_resend_timeout;
264 } 264 }
265 } 265 }
266 266