diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:31:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:31:26 -0500 |
commit | c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 (patch) | |
tree | 7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb /net/dccp/ipv4.c | |
parent | 118b2c9532c853ebdf15c21128d30a343b89ea45 (diff) |
[DCCP]: ditch dccp_v[46]_ctl_send_ack
Merging it with its only user: dccp_v[46]_reqsk_send_ack.
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 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 64b7f8bda42d..80d450ba6219 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -197,7 +197,8 @@ static inline void dccp_do_pmtu_discovery(struct sock *sk, | |||
197 | } /* else let the usual retransmit timer handle it */ | 197 | } /* else let the usual retransmit timer handle it */ |
198 | } | 198 | } |
199 | 199 | ||
200 | static void dccp_v4_ctl_send_ack(struct sk_buff *rxskb) | 200 | static void dccp_v4_reqsk_send_ack(struct sk_buff *rxskb, |
201 | struct request_sock *req) | ||
201 | { | 202 | { |
202 | int err; | 203 | int err; |
203 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; | 204 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; |
@@ -245,12 +246,6 @@ static void dccp_v4_ctl_send_ack(struct sk_buff *rxskb) | |||
245 | } | 246 | } |
246 | } | 247 | } |
247 | 248 | ||
248 | static void dccp_v4_reqsk_send_ack(struct sk_buff *skb, | ||
249 | struct request_sock *req) | ||
250 | { | ||
251 | dccp_v4_ctl_send_ack(skb); | ||
252 | } | ||
253 | |||
254 | static int dccp_v4_send_response(struct sock *sk, struct request_sock *req, | 249 | static int dccp_v4_send_response(struct sock *sk, struct request_sock *req, |
255 | struct dst_entry *dst) | 250 | struct dst_entry *dst) |
256 | { | 251 | { |