rxrpc: don't multiply with HZ twice
authorFlorian Westphal <fw@strlen.de>
Sat, 28 Feb 2015 10:51:37 +0000 (11:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Mar 2015 18:40:23 +0000 (13:40 -0500)
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>
net/rxrpc/ar-ack.c

index 40404183a5da0eab488132246a6b18beea2b3560..e0547f521f20d79c688c773286d609066c990a1d 100644 (file)
@@ -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;
                        }
                }