summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_minisocks.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2018-06-05 03:07:23 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-05 10:45:24 -0400
commit95358a9553fbec6c47ad7bd1aec20df663295088 (patch)
tree6cce7d3ba33d881def3bf764de07078e0f3dfa9c /net/ipv4/tcp_minisocks.c
parentd96a43c66464cdf0b249fdf47b6dcd65b83af8c0 (diff)
downloadblackbird-obmc-linux-95358a9553fbec6c47ad7bd1aec20df663295088.tar.gz
blackbird-obmc-linux-95358a9553fbec6c47ad7bd1aec20df663295088.zip
net-tcp: remove useless tw_timeout field
Tested: 'git grep tw_timeout' comes up empty and it builds :-) Signed-off-by: Maciej Żenczykowski <maze@google.com> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r--net/ipv4/tcp_minisocks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index f867658b4b30..1dda1341a223 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -307,7 +307,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo)
if (timeo < rto)
timeo = rto;
- tw->tw_timeout = TCP_TIMEWAIT_LEN;
if (state == TCP_TIME_WAIT)
timeo = TCP_TIMEWAIT_LEN;
OpenPOWER on IntegriCloud