summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-28 13:51:37 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-01 21:40:23 +0300
commit765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7 (patch)
tree909d2f6c9ab0984f048c4a597835f2b2ed354ba5 /net/rxrpc
parentc03ae533a9c4de83a35105f9bfd7152d916b4680 (diff)
downloadlinux-765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7.tar.xz
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>
Diffstat (limited to 'net/rxrpc')
-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)
sp->resend_at = jiffies + 3;
} else {
sp->resend_at =
- jiffies + rxrpc_resend_timeout * HZ;
+ jiffies + rxrpc_resend_timeout;
}
}