summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-28 11:51:37 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-01 13:40:23 -0500
commit765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7 (patch)
tree909d2f6c9ab0984f048c4a597835f2b2ed354ba5
parentc03ae533a9c4de83a35105f9bfd7152d916b4680 (diff)
downloadlinux-765dd3bb44711b4ba36c1e06f9c4b7bfe73ffef7.tar.bz2
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)
sp->resend_at = jiffies + 3;
} else {
sp->resend_at =
- jiffies + rxrpc_resend_timeout * HZ;
+ jiffies + rxrpc_resend_timeout;
}
}