diff options
Diffstat (limited to 'net/dccp/ccids/ccid2.c')
-rw-r--r-- | net/dccp/ccids/ccid2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c index a901202ada64..9fa0eb5f691b 100644 --- a/net/dccp/ccids/ccid2.c +++ b/net/dccp/ccids/ccid2.c | |||
@@ -221,7 +221,6 @@ static void ccid2_hc_tx_rto_expire(unsigned long data) | |||
221 | hctx->ccid2hctx_seqt = hctx->ccid2hctx_seqh; | 221 | hctx->ccid2hctx_seqt = hctx->ccid2hctx_seqh; |
222 | hctx->ccid2hctx_ssacks = 0; | 222 | hctx->ccid2hctx_ssacks = 0; |
223 | hctx->ccid2hctx_acks = 0; | 223 | hctx->ccid2hctx_acks = 0; |
224 | hctx->ccid2hctx_sent = 0; | ||
225 | 224 | ||
226 | /* clear ack ratio state. */ | 225 | /* clear ack ratio state. */ |
227 | hctx->ccid2hctx_rpseq = 0; | 226 | hctx->ccid2hctx_rpseq = 0; |
@@ -285,8 +284,6 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int more, unsigned int len) | |||
285 | ccid2_pr_debug("cwnd=%d pipe=%d\n", hctx->ccid2hctx_cwnd, | 284 | ccid2_pr_debug("cwnd=%d pipe=%d\n", hctx->ccid2hctx_cwnd, |
286 | hctx->ccid2hctx_pipe); | 285 | hctx->ccid2hctx_pipe); |
287 | 286 | ||
288 | hctx->ccid2hctx_sent++; | ||
289 | |||
290 | /* | 287 | /* |
291 | * FIXME: The code below is broken and the variables have been removed | 288 | * FIXME: The code below is broken and the variables have been removed |
292 | * from the socket struct. The `ackloss' variable was always set to 0, | 289 | * from the socket struct. The `ackloss' variable was always set to 0, |
@@ -517,7 +514,6 @@ static inline void ccid2_new_ack(struct sock *sk, | |||
517 | ccid2_pr_debug("srtt: %ld rttvar: %ld rto: %ld (HZ=%d) R=%lu\n", | 514 | ccid2_pr_debug("srtt: %ld rttvar: %ld rto: %ld (HZ=%d) R=%lu\n", |
518 | hctx->ccid2hctx_srtt, hctx->ccid2hctx_rttvar, | 515 | hctx->ccid2hctx_srtt, hctx->ccid2hctx_rttvar, |
519 | hctx->ccid2hctx_rto, HZ, r); | 516 | hctx->ccid2hctx_rto, HZ, r); |
520 | hctx->ccid2hctx_sent = 0; | ||
521 | } | 517 | } |
522 | 518 | ||
523 | /* we got a new ack, so re-start RTO timer */ | 519 | /* we got a new ack, so re-start RTO timer */ |