History

tcp: Remove the unused api

Last tcp_write_queue_head() use was removed in commit 114f39feab36 ("tcp: restore autocorking"), so remove it.

Tao Chen committed 4 years ago

Commit 42f0c191 parent bf088241 file · +0 −5Browse files

Unified · Split

include/net/tcp.h+0−5
@@ -1831,11 +1831,6 @@ static inline struct sk_buff *tcp_rtx_queue_tail(const struct sock *sk) · 1830 unmodified lines
18311831 return skb_rb_last(&sk->tcp_rtx_queue);
18321832 }
18331833
1834−static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk)
1835−{
1836− return skb_peek(&sk->sk_write_queue);
1837−}
1838−
18391834 static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk)
18401835 {
18411836 return skb_peek_tail(&sk->sk_write_queue);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t