aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2010-12-01 13:05:17 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-02 16:27:33 -0500
commitdca9b2404a6d6579828da2425c051462701efd3f (patch)
treec8f5fdd5f52e1ede8716703323f4297234a1e687 /include/net/tcp.h
parentb672083ed36a49c323737b7c7e1d5264a7c193af (diff)
net: kill unused macros from head file
These macros have been defined for several years since v2.6.12-rc2(tracing by git), but never be used. So remove them. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 4097320caa25..3f227baee4be 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -100,12 +100,6 @@ extern void tcp_time_wait(struct sock *sk, int state, int timeo);
100#define TCP_SYNACK_RETRIES 5 /* number of times to retry passive opening a 100#define TCP_SYNACK_RETRIES 5 /* number of times to retry passive opening a
101 * connection: ~180sec is RFC minimum */ 101 * connection: ~180sec is RFC minimum */
102 102
103
104#define TCP_ORPHAN_RETRIES 7 /* number of times to retry on an orphaned
105 * socket. 7 is ~50sec-16min.
106 */
107
108
109#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT 103#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
110 * state, about 60 seconds */ 104 * state, about 60 seconds */
111#define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN 105#define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN