diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 00:58:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 00:58:56 -0500 |
commit | c25a18ba347f091d1ce620ba33e6772b60a528e1 (patch) | |
tree | 788c596356e150a26e0a67243ffc68213abdd493 /net/dccp/ccids | |
parent | 5e0817f84c33285c2ac7d3848e8896d025b5deff (diff) |
[DCCP]: Uninline some functions
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 86201631fb6e..ff6a0d7076ef 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -46,7 +46,7 @@ | |||
46 | * Reason for maths here is to avoid 32 bit overflow when a is big. | 46 | * Reason for maths here is to avoid 32 bit overflow when a is big. |
47 | * With this we get close to the limit. | 47 | * With this we get close to the limit. |
48 | */ | 48 | */ |
49 | static inline u32 usecs_div(const u32 a, const u32 b) | 49 | static u32 usecs_div(const u32 a, const u32 b) |
50 | { | 50 | { |
51 | const u32 div = a < (UINT_MAX / (USEC_PER_SEC / 10)) ? 10 : | 51 | const u32 div = a < (UINT_MAX / (USEC_PER_SEC / 10)) ? 10 : |
52 | a < (UINT_MAX / (USEC_PER_SEC / 50)) ? 50 : | 52 | a < (UINT_MAX / (USEC_PER_SEC / 50)) ? 50 : |
@@ -98,8 +98,8 @@ static const char *ccid3_tx_state_name(enum ccid3_hc_tx_states state) | |||
98 | } | 98 | } |
99 | #endif | 99 | #endif |
100 | 100 | ||
101 | static inline void ccid3_hc_tx_set_state(struct sock *sk, | 101 | static void ccid3_hc_tx_set_state(struct sock *sk, |
102 | enum ccid3_hc_tx_states state) | 102 | enum ccid3_hc_tx_states state) |
103 | { | 103 | { |
104 | struct ccid3_hc_tx_sock *hctx = ccid3_hc_tx_sk(sk); | 104 | struct ccid3_hc_tx_sock *hctx = ccid3_hc_tx_sk(sk); |
105 | enum ccid3_hc_tx_states oldstate = hctx->ccid3hctx_state; | 105 | enum ccid3_hc_tx_states oldstate = hctx->ccid3hctx_state; |
@@ -708,8 +708,8 @@ static const char *ccid3_rx_state_name(enum ccid3_hc_rx_states state) | |||
708 | } | 708 | } |
709 | #endif | 709 | #endif |
710 | 710 | ||
711 | static inline void ccid3_hc_rx_set_state(struct sock *sk, | 711 | static void ccid3_hc_rx_set_state(struct sock *sk, |
712 | enum ccid3_hc_rx_states state) | 712 | enum ccid3_hc_rx_states state) |
713 | { | 713 | { |
714 | struct ccid3_hc_rx_sock *hcrx = ccid3_hc_rx_sk(sk); | 714 | struct ccid3_hc_rx_sock *hcrx = ccid3_hc_rx_sk(sk); |
715 | enum ccid3_hc_rx_states oldstate = hcrx->ccid3hcrx_state; | 715 | enum ccid3_hc_rx_states oldstate = hcrx->ccid3hcrx_state; |