summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2008-06-16 17:07:16 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-16 17:07:16 -0700
commita9d246dbb07cf0bd32bbfc5d184ed738bf2af4f8 (patch)
tree893b5e69f6e4b1227ad83bf856a86d01803c80ed /net
parent68be802cd5ad040fe8cfa33ce3031405df2d9117 (diff)
downloadlinux-3.10-a9d246dbb07cf0bd32bbfc5d184ed738bf2af4f8.tar.gz
linux-3.10-a9d246dbb07cf0bd32bbfc5d184ed738bf2af4f8.tar.bz2
linux-3.10-a9d246dbb07cf0bd32bbfc5d184ed738bf2af4f8.zip
ipv4: Remove unused definitions in net/ipv4/tcp_ipv4.c.
1) Remove ICMP_MIN_LENGTH, as it is unused. 2) Remove unneeded tcp_v4_send_check() declaration. Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 97a230026e1..12695be2c25 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -85,10 +85,6 @@
int sysctl_tcp_tw_reuse __read_mostly;
int sysctl_tcp_low_latency __read_mostly;
-/* Check TCP sequence numbers in ICMP packets. */
-#define ICMP_MIN_LENGTH 8
-
-void tcp_v4_send_check(struct sock *sk, int len, struct sk_buff *skb);
#ifdef CONFIG_TCP_MD5SIG
static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk,