]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/tcp_newreno.c
xnu-3789.51.2.tar.gz
[apple/xnu.git] / bsd / netinet / tcp_newreno.c
index a1e590a0a718bfd3c0fe21d4a35c0169b6b0e37d..c0def7ffabde87fa62fb37f55e3abcb5baf14947 100644 (file)
@@ -134,9 +134,6 @@ int tcp_newreno_cleanup(struct tcpcb *tp) {
 void
 tcp_newreno_cwnd_init_or_reset(struct tcpcb *tp) {
        tcp_cc_cwnd_init_or_reset(tp);
-
-       /* If stretch ack was auto disabled, re-evaluate the situation */
-       tcp_cc_after_idle_stretchack(tp);
 }
 
 
@@ -176,8 +173,8 @@ tcp_newreno_ack_rcvd(struct tcpcb *tp, struct tcphdr *th) {
         * greater than or equal to the congestion window.
         */
 
-       register u_int cw = tp->snd_cwnd;
-       register u_int incr = tp->t_maxseg;
+       u_int cw = tp->snd_cwnd;
+       u_int incr = tp->t_maxseg;
        int acked = 0;
 
        acked = BYTES_ACKED(th, tp);