mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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>
This commit is contained in:
parent
c03ae533a9
commit
765dd3bb44
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user