diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-08-13 21:42:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:59:59 -0400 |
commit | a1d3a35518779df0579dd9de0121354b49c68ddc (patch) | |
tree | 1d99d52393b5eb2d46e306cecbaf86547cafbc6a /net/dccp/ipv4.c | |
parent | 8649b0d4166e6e80ffa298e75abd8f2afdd491a6 (diff) |
[DCCP]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 42d9c878d4c3..bc3cfc0533cc 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -617,9 +617,6 @@ out: | |||
617 | sock_put(sk); | 617 | sock_put(sk); |
618 | } | 618 | } |
619 | 619 | ||
620 | extern struct sk_buff *dccp_make_reset(struct sock *sk, struct dst_entry *dst, | ||
621 | enum dccp_reset_codes code); | ||
622 | |||
623 | int dccp_v4_send_reset(struct sock *sk, enum dccp_reset_codes code) | 620 | int dccp_v4_send_reset(struct sock *sk, enum dccp_reset_codes code) |
624 | { | 621 | { |
625 | struct sk_buff *skb; | 622 | struct sk_buff *skb; |
@@ -881,7 +878,7 @@ static struct dst_entry* dccp_v4_route_skb(struct sock *sk, | |||
881 | return &rt->u.dst; | 878 | return &rt->u.dst; |
882 | } | 879 | } |
883 | 880 | ||
884 | void dccp_v4_ctl_send_reset(struct sk_buff *rxskb) | 881 | static void dccp_v4_ctl_send_reset(struct sk_buff *rxskb) |
885 | { | 882 | { |
886 | int err; | 883 | int err; |
887 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; | 884 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; |
@@ -1268,7 +1265,7 @@ static int dccp_v4_init_sock(struct sock *sk) | |||
1268 | return 0; | 1265 | return 0; |
1269 | } | 1266 | } |
1270 | 1267 | ||
1271 | int dccp_v4_destroy_sock(struct sock *sk) | 1268 | static int dccp_v4_destroy_sock(struct sock *sk) |
1272 | { | 1269 | { |
1273 | struct dccp_sock *dp = dccp_sk(sk); | 1270 | struct dccp_sock *dp = dccp_sk(sk); |
1274 | 1271 | ||