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>
tirimbino
Florian Westphal 10 years ago committed by David S. Miller
parent c03ae533a9
commit 765dd3bb44
  1. 2
      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;
}
}

Loading…
Cancel
Save