Commit 08e1195e authored by David S. Miller's avatar David S. Miller

[TCP]: Only non-zero inits are necessary in tcp_vX_init_sock.

parent 074d9880
...@@ -2032,9 +2032,6 @@ static int tcp_v4_init_sock(struct sock *sk) ...@@ -2032,9 +2032,6 @@ static int tcp_v4_init_sock(struct sock *sk)
*/ */
tp->snd_cwnd = 2; tp->snd_cwnd = 2;
tp->frto_counter = 0;
tp->frto_highmark = 0;
/* See draft-stevens-tcpca-spec-01 for discussion of the /* See draft-stevens-tcpca-spec-01 for discussion of the
* initialization of these values. * initialization of these values.
*/ */
......
...@@ -1849,9 +1849,6 @@ static int tcp_v6_init_sock(struct sock *sk) ...@@ -1849,9 +1849,6 @@ static int tcp_v6_init_sock(struct sock *sk)
*/ */
tp->snd_cwnd = 2; tp->snd_cwnd = 2;
tp->frto_counter = 0;
tp->frto_highmark = 0;
/* See draft-stevens-tcpca-spec-01 for discussion of the /* See draft-stevens-tcpca-spec-01 for discussion of the
* initialization of these values. * initialization of these values.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment