diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 813042c08dc5..d66ac76a33d1 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1716,14 +1716,9 @@ static inline bool tcp_rtx_and_write_queues_empty(const struct sock *sk) | |||
1716 | return tcp_rtx_queue_empty(sk) && tcp_write_queue_empty(sk); | 1716 | return tcp_rtx_queue_empty(sk) && tcp_write_queue_empty(sk); |
1717 | } | 1717 | } |
1718 | 1718 | ||
1719 | static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) | ||
1720 | { | ||
1721 | __skb_queue_tail(&sk->sk_write_queue, skb); | ||
1722 | } | ||
1723 | |||
1724 | static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) | 1719 | static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb) |
1725 | { | 1720 | { |
1726 | __tcp_add_write_queue_tail(sk, skb); | 1721 | __skb_queue_tail(&sk->sk_write_queue, skb); |
1727 | 1722 | ||
1728 | /* Queue it, remembering where we must start sending. */ | 1723 | /* Queue it, remembering where we must start sending. */ |
1729 | if (sk->sk_write_queue.next == skb) | 1724 | if (sk->sk_write_queue.next == skb) |