diff options
author | Florian Westphal <fw@strlen.de> | 2015-02-28 11:51:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-01 13:40:23 -0500 |
commit | 765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7 (patch) | |
tree | 909d2f6c9ab0984f048c4a597835f2b2ed354ba5 /net/rxrpc | |
parent | c03ae533a9c4de83a35105f9bfd7152d916b4680 (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>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/ar-ack.c | 2 |
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; } } |