Explorar o código

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>
Florian Westphal %!s(int64=10) %!d(string=hai) anos
pai
achega
765dd3bb44
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      net/rxrpc/ar-ack.c

+ 1 - 1
net/rxrpc/ar-ack.c

@@ -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;
 			}
 			}
 		}
 		}