diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-16 23:48:12 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-11 13:38:19 -0400 |
commit | 076fb7223357769c39f3ddf900bba6752369c76a (patch) | |
tree | db75c2af3bf71cda4d0cccd6ebcfa8d1a62c3620 /include/net/tcp.h | |
parent | 7d5d5525bd88313e6fd90c0659665aee5114bc2d (diff) |
tcp md5sig: Remove redundant protocol argument.
Protocol is always TCP, so remove useless protocol argument.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index b1c4b78f1cb8..ae2549c45fc7 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1123,7 +1123,6 @@ extern int tcp_v4_calc_md5_hash(char *md5_hash, | |||
1123 | struct dst_entry *dst, | 1123 | struct dst_entry *dst, |
1124 | struct request_sock *req, | 1124 | struct request_sock *req, |
1125 | struct tcphdr *th, | 1125 | struct tcphdr *th, |
1126 | int protocol, | ||
1127 | unsigned int tcplen); | 1126 | unsigned int tcplen); |
1128 | extern struct tcp_md5sig_key *tcp_v4_md5_lookup(struct sock *sk, | 1127 | extern struct tcp_md5sig_key *tcp_v4_md5_lookup(struct sock *sk, |
1129 | struct sock *addr_sk); | 1128 | struct sock *addr_sk); |
@@ -1373,7 +1372,6 @@ struct tcp_sock_af_ops { | |||
1373 | struct dst_entry *dst, | 1372 | struct dst_entry *dst, |
1374 | struct request_sock *req, | 1373 | struct request_sock *req, |
1375 | struct tcphdr *th, | 1374 | struct tcphdr *th, |
1376 | int protocol, | ||
1377 | unsigned int len); | 1375 | unsigned int len); |
1378 | int (*md5_add) (struct sock *sk, | 1376 | int (*md5_add) (struct sock *sk, |
1379 | struct sock *addr_sk, | 1377 | struct sock *addr_sk, |