diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2004-04-27 06:29:45 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-04-27 06:29:45 -0700 |
| commit | 0cc4d622060662632d97ab1dd9f040affff8bccd (patch) | |
| tree | dca295023ee68fae58b4c78a9d223c000fdbd123 /include/net | |
| parent | 9b4ea1a1614168c51afe0e6dff12e0b373d11e8b (diff) | |
[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.
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/tcp.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
