diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/sunrpc/timer.c | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/timer.c')
-rw-r--r-- | net/sunrpc/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/timer.c b/net/sunrpc/timer.c index dd824341c349..08881d0c9672 100644 --- a/net/sunrpc/timer.c +++ b/net/sunrpc/timer.c | |||
@@ -34,7 +34,7 @@ | |||
34 | void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) | 34 | void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) |
35 | { | 35 | { |
36 | unsigned long init = 0; | 36 | unsigned long init = 0; |
37 | unsigned i; | 37 | unsigned int i; |
38 | 38 | ||
39 | rt->timeo = timeo; | 39 | rt->timeo = timeo; |
40 | 40 | ||
@@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(rpc_init_rtt); | |||
57 | * NB: When computing the smoothed RTT and standard deviation, | 57 | * NB: When computing the smoothed RTT and standard deviation, |
58 | * be careful not to produce negative intermediate results. | 58 | * be careful not to produce negative intermediate results. |
59 | */ | 59 | */ |
60 | void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m) | 60 | void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m) |
61 | { | 61 | { |
62 | long *srtt, *sdrtt; | 62 | long *srtt, *sdrtt; |
63 | 63 | ||
@@ -106,7 +106,7 @@ EXPORT_SYMBOL_GPL(rpc_update_rtt); | |||
106 | * read, write, commit - A+4D | 106 | * read, write, commit - A+4D |
107 | * other - timeo | 107 | * other - timeo |
108 | */ | 108 | */ |
109 | unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer) | 109 | unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer) |
110 | { | 110 | { |
111 | unsigned long res; | 111 | unsigned long res; |
112 | 112 | ||