diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-04-10 22:15:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-11 18:29:09 -0400 |
commit | bb29624614c2afe2873ee8ee97cf09df42701694 (patch) | |
tree | aea85e4cd6643fb47beba987849378c0e80166a0 /include | |
parent | 8ad50d96db58c58ba67ec1c6f9d3dae0db52338a (diff) |
inet: Remove unused send_check length argument
inet: Remove unused send_check length argument
This patch removes the unused length argument from the send_check
function in struct inet_connection_sock_af_ops.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Yinghai <yinghai.lu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/inet_connection_sock.h | 3 | ||||
-rw-r--r-- | include/net/tcp.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 696d6e4ce68a..52c8b8b8a0b9 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -37,8 +37,7 @@ struct tcp_congestion_ops; | |||
37 | */ | 37 | */ |
38 | struct inet_connection_sock_af_ops { | 38 | struct inet_connection_sock_af_ops { |
39 | int (*queue_xmit)(struct sk_buff *skb, int ipfragok); | 39 | int (*queue_xmit)(struct sk_buff *skb, int ipfragok); |
40 | void (*send_check)(struct sock *sk, int len, | 40 | void (*send_check)(struct sock *sk, struct sk_buff *skb); |
41 | struct sk_buff *skb); | ||
42 | int (*rebuild_header)(struct sock *sk); | 41 | int (*rebuild_header)(struct sock *sk); |
43 | int (*conn_request)(struct sock *sk, struct sk_buff *skb); | 42 | int (*conn_request)(struct sock *sk, struct sk_buff *skb); |
44 | struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb, | 43 | struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb, |
diff --git a/include/net/tcp.h b/include/net/tcp.h index 75be5a28815d..70c5159f4b36 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -423,7 +423,7 @@ extern u8 *tcp_parse_md5sig_option(struct tcphdr *th); | |||
423 | * TCP v4 functions exported for the inet6 API | 423 | * TCP v4 functions exported for the inet6 API |
424 | */ | 424 | */ |
425 | 425 | ||
426 | extern void tcp_v4_send_check(struct sock *sk, int len, | 426 | extern void tcp_v4_send_check(struct sock *sk, |
427 | struct sk_buff *skb); | 427 | struct sk_buff *skb); |
428 | 428 | ||
429 | extern int tcp_v4_conn_request(struct sock *sk, | 429 | extern int tcp_v4_conn_request(struct sock *sk, |