Skip to content

Commit

Permalink
rxrpc: don't multiply with HZ twice
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Westphal authored and David S. Miller committed Mar 1, 2015
1 parent c03ae53 commit 765dd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/rxrpc/ar-ack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 765dd3b

Please sign in to comment.