提交 765dd3bb 编写于 作者: F Florian Westphal 提交者: David S. Miller

rxrpc: don't multiply with HZ twice

rxrpc_resend_timeout has an initial value of 4 * HZ; use it as-is.
Signed-off-by: NFlorian Westphal <fw@strlen.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c03ae533
...@@ -260,7 +260,7 @@ static void rxrpc_resend(struct rxrpc_call *call) ...@@ -260,7 +260,7 @@ static void rxrpc_resend(struct rxrpc_call *call)
sp->resend_at = jiffies + 3; sp->resend_at = jiffies + 3;
} else { } else {
sp->resend_at = sp->resend_at =
jiffies + rxrpc_resend_timeout * HZ; jiffies + rxrpc_resend_timeout;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册