From 0cc4d622060662632d97ab1dd9f040affff8bccd Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 27 Apr 2004 06:29:45 -0700 Subject: [TCP]: tcp_send_skb code pruning The function tcp_send_skb is only called from tcp_fin, and is always called with force_queue=1. Therefore, it no longer needs to be global and the code to send right now can be removed. Because it always queues, change the name as well, and fix up the comment. --- include/net/tcp.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/net/tcp.h b/include/net/tcp.h index 076811e43c2c..8dc4be5b1ccb 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -929,7 +929,6 @@ extern void tcp_send_fin(struct sock *sk); extern void tcp_send_active_reset(struct sock *sk, int priority); extern int tcp_send_synack(struct sock *); extern int tcp_transmit_skb(struct sock *, struct sk_buff *); -extern void tcp_send_skb(struct sock *, struct sk_buff *, int force_queue, unsigned mss_now); extern void tcp_push_one(struct sock *, unsigned mss_now); extern void tcp_send_ack(struct sock *sk); extern void tcp_send_delayed_ack(struct sock *sk); -- cgit v1.2.3