diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-12-20 00:59:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-20 00:59:35 -0500 |
commit | 4c306a9291a077879fc3e933326caac3bc319caa (patch) | |
tree | 19704486012ac148ef37005ea38b9c2ae3442fc1 /include | |
parent | ba27d85c96c57111ae8acfa959643e5ce8e4bcbe (diff) |
net: kill unused macros
These macros 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')
-rw-r--r-- | include/net/inet_connection_sock.h | 1 | ||||
-rw-r--r-- | include/net/tcp.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 6c93a56cc958..6ac4e3b5007f 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -132,7 +132,6 @@ struct inet_connection_sock { | |||
132 | #define ICSK_TIME_RETRANS 1 /* Retransmit timer */ | 132 | #define ICSK_TIME_RETRANS 1 /* Retransmit timer */ |
133 | #define ICSK_TIME_DACK 2 /* Delayed ack timer */ | 133 | #define ICSK_TIME_DACK 2 /* Delayed ack timer */ |
134 | #define ICSK_TIME_PROBE0 3 /* Zero window probe timer */ | 134 | #define ICSK_TIME_PROBE0 3 /* Zero window probe timer */ |
135 | #define ICSK_TIME_KEEPOPEN 4 /* Keepalive timer */ | ||
136 | 135 | ||
137 | static inline struct inet_connection_sock *inet_csk(const struct sock *sk) | 136 | static inline struct inet_connection_sock *inet_csk(const struct sock *sk) |
138 | { | 137 | { |
diff --git a/include/net/tcp.h b/include/net/tcp.h index 2ab6c9c1c53a..b4480300cadf 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1158,8 +1158,6 @@ struct tcp_md5sig_pool { | |||
1158 | union tcp_md5sum_block md5_blk; | 1158 | union tcp_md5sum_block md5_blk; |
1159 | }; | 1159 | }; |
1160 | 1160 | ||
1161 | #define TCP_MD5SIG_MAXKEYS (~(u32)0) /* really?! */ | ||
1162 | |||
1163 | /* - functions */ | 1161 | /* - functions */ |
1164 | extern int tcp_v4_md5_hash_skb(char *md5_hash, struct tcp_md5sig_key *key, | 1162 | extern int tcp_v4_md5_hash_skb(char *md5_hash, struct tcp_md5sig_key *key, |
1165 | struct sock *sk, struct request_sock *req, | 1163 | struct sock *sk, struct request_sock *req, |