Commit 95358a95 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by David S. Miller

net-tcp: remove useless tw_timeout field

Tested: 'git grep tw_timeout' comes up empty and it builds :-)
Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d96a43c6
...@@ -61,7 +61,6 @@ struct inet_timewait_sock { ...@@ -61,7 +61,6 @@ struct inet_timewait_sock {
#define tw_cookie __tw_common.skc_cookie #define tw_cookie __tw_common.skc_cookie
#define tw_dr __tw_common.skc_tw_dr #define tw_dr __tw_common.skc_tw_dr
int tw_timeout;
__u32 tw_mark; __u32 tw_mark;
volatile unsigned char tw_substate; volatile unsigned char tw_substate;
unsigned char tw_rcv_wscale; unsigned char tw_rcv_wscale;
......
...@@ -53,7 +53,6 @@ void dccp_time_wait(struct sock *sk, int state, int timeo) ...@@ -53,7 +53,6 @@ void dccp_time_wait(struct sock *sk, int state, int timeo)
if (timeo < rto) if (timeo < rto)
timeo = rto; timeo = rto;
tw->tw_timeout = DCCP_TIMEWAIT_LEN;
if (state == DCCP_TIME_WAIT) if (state == DCCP_TIME_WAIT)
timeo = DCCP_TIMEWAIT_LEN; timeo = DCCP_TIMEWAIT_LEN;
......
...@@ -307,7 +307,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo) ...@@ -307,7 +307,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo)
if (timeo < rto) if (timeo < rto)
timeo = rto; timeo = rto;
tw->tw_timeout = TCP_TIMEWAIT_LEN;
if (state == TCP_TIME_WAIT) if (state == TCP_TIME_WAIT)
timeo = TCP_TIMEWAIT_LEN; timeo = TCP_TIMEWAIT_LEN;
......
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