aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r--net/dccp/ccids/ccid3.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index 62c304200eda..58f7cac6aa3d 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -384,27 +384,6 @@ static void ccid3_hc_tx_packet_sent(struct sock *sk, int more, int len)
384 } else 384 } else
385 ccid3_pr_debug("%s, sk=%p, seqno=%llu NOT inserted!\n", 385 ccid3_pr_debug("%s, sk=%p, seqno=%llu NOT inserted!\n",
386 dccp_role(sk), sk, dp->dccps_gss); 386 dccp_role(sk), sk, dp->dccps_gss);
387
388 switch (hctx->ccid3hctx_state) {
389 case TFRC_SSTATE_NO_SENT:
390 /* fall through */
391 case TFRC_SSTATE_NO_FBACK:
392 /* t_nom, t_ipi, delta do not change until feedback arrives */
393 return;
394 case TFRC_SSTATE_FBACK:
395 if (len > 0) {
396 timeval_sub_usecs(&hctx->ccid3hctx_t_nom,
397 hctx->ccid3hctx_t_ipi);
398 ccid3_calc_new_t_ipi(hctx);
399 ccid3_calc_new_delta(hctx);
400 timeval_add_usecs(&hctx->ccid3hctx_t_nom,
401 hctx->ccid3hctx_t_ipi);
402 }
403 break;
404 case TFRC_SSTATE_TERM:
405 DCCP_BUG("Illegal %s state TERM, sk=%p", dccp_role(sk), sk);
406 break;
407 }
408} 387}
409 388
410static void ccid3_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb) 389static void ccid3_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb)