summaryrefslogtreecommitdiff
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2023-05-25 10:57:36 -0400
committerDavid S. Miller <davem@davemloft.net>2023-05-26 11:33:28 +0100
commitf26f03b3031938ad46c3fb617745e9fd4a289ce7 (patch)
treefd5a922401539aa6cdf02406f80e14265e98fe24 /include/net/tcp.h
parenteba7dbc5eba06a503ba78fdfb4488dbaaeed9471 (diff)
downloadlinux-rpi-f26f03b3031938ad46c3fb617745e9fd4a289ce7.tar.gz
linux-rpi-f26f03b3031938ad46c3fb617745e9fd4a289ce7.tar.bz2
linux-rpi-f26f03b3031938ad46c3fb617745e9fd4a289ce7.zip
tcp: remove unused TCP_SYNQ_INTERVAL definition
Currently TCP_SYNQ_INTERVAL is defined but never used. According to "git log -S TCP_SYNQ_INTERVAL net-next/main" it seems the last references to TCP_SYNQ_INTERVAL were removed by 2015 commit fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer") Signed-off-by: Neal Cardwell <ncardwell@google.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 34f2df9e23c5..0b755988e20c 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -161,8 +161,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
#define MAX_TCP_KEEPCNT 127
#define MAX_TCP_SYNCNT 127
-#define TCP_SYNQ_INTERVAL (HZ/5) /* Period of SYNACK timer */
-
#define TCP_PAWS_24DAYS (60 * 60 * 24 * 24)
#define TCP_PAWS_MSL 60 /* Per-host timestamps are invalidated
* after this time. It should be equal