DCCP protocol discussions
 help / color / mirror / Atom feed
* [PATCHv2 8/8] Remove inline modifier from tfrc_ccids.c functions
@ 2007-12-21  4:34 Leandro
  0 siblings, 0 replies; only message in thread
From: Leandro @ 2007-12-21  4:34 UTC (permalink / raw)
  To: dccp

[TFRC_CCIDS] Remove inline modifier from tfrc_ccids.c functions and let the compile decide it, as commented by Gerrit in the mailing list.

Signed-off-by: Leandro Melo de Sales <leandro@embedded.ufcg.edu.br>

-------------------> Patch v2 <------------------------

Index: ccid4.latest/net/dccp/ccids/lib/tfrc_ccids.c
=================================--- ccid4.latest.orig/net/dccp/ccids/lib/tfrc_ccids.c
+++ ccid4.latest/net/dccp/ccids/lib/tfrc_ccids.c
@@ -27,7 +27,7 @@ extern int tfrc_debug;
  * (rev-02) clarifies the use of RFC 3390 with regard to the above formula.
  * For consistency with other parts of the code, X_init is scaled by 2^6.
  */
-inline u64 rfc3390_initial_rate(struct sock *sk)
+u64 rfc3390_initial_rate(struct sock *sk)
 {
 	const struct tfrc_hc_tx_sock *hctx = tfrc_hc_tx_sk(sk);
 	const __u32 w_init = min_t(__u32, 4 * hctx->ttx_s,
@@ -51,7 +51,7 @@ EXPORT_SYMBOL_GPL(tfrc_hc_tx_idle_rtt);
  *	Update Window Counter using the algorithm from [RFC 4342, 8.1].
  *	The algorithm is not applicable if RTT < 4 microseconds.
  */
-inline void tfrc_hc_tx_update_win_count(struct tfrc_hc_tx_sock *hctx,
+void tfrc_hc_tx_update_win_count(struct tfrc_hc_tx_sock *hctx,
 				          ktime_t now)
 {
 	u32 quarter_rtts;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-21  4:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-21  4:34 [PATCHv2 8/8] Remove inline modifier from tfrc_ccids.c functions Leandro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox