summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-02-26 09:49:09 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-26 13:16:02 -0800
commit6c7b4ee7f96d77a40e474f7541c4e543a669dbde (patch)
treee3806fde386be3057bf3f42c6693b101553f2296 /include/net
parenta110ae7096c9f564d15b0e56a8bba79ffeaaa618 (diff)
downloadlinux-6c7b4ee7f96d77a40e474f7541c4e543a669dbde.tar.bz2
tcp: get rid of tcp_check_send_head()
This helper is used only once, and its name is no longer relevant. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index a6e0355921e1..813042c08dc5 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1716,12 +1716,6 @@ static inline bool tcp_rtx_and_write_queues_empty(const struct sock *sk)
return tcp_rtx_queue_empty(sk) && tcp_write_queue_empty(sk);
}
-static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked)
-{
- if (tcp_write_queue_empty(sk))
- tcp_chrono_stop(sk, TCP_CHRONO_BUSY);
-}
-
static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb)
{
__skb_queue_tail(&sk->sk_write_queue, skb);