projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03ae53
)
rxrpc: don't multiply with HZ twice
author
Florian Westphal
<fw@strlen.de>
Sat, 28 Feb 2015 10:51:37 +0000
(11:51 +0100)
committer
David S. Miller
<davem@davemloft.net>
Sun, 1 Mar 2015 18:40:23 +0000
(13:40 -0500)
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>
net/rxrpc/ar-ack.c
patch
|
blob
|
history
diff --git
a/net/rxrpc/ar-ack.c
b/net/rxrpc/ar-ack.c
index 40404183a5da0eab488132246a6b18beea2b3560..e0547f521f20d79c688c773286d609066c990a1d 100644
(file)
--- a/
net/rxrpc/ar-ack.c
+++ b/
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;
}
}