* [PATCH v2] tcp: Remove the unused api
@ 2022-03-01 14:35 Tao Chen
2022-03-03 7:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Tao Chen @ 2022-03-01 14:35 UTC (permalink / raw)
To: edumazet, davem, kuba; +Cc: netdev, linux-kernel, Tao Chen
Last tcp_write_queue_head() use was removed in commit
114f39feab36 ("tcp: restore autocorking"), so remove it.
Signed-off-by: Tao Chen <chentao3@hotmail.com>
---
include/net/tcp.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index b9fc978fb2ca..a4cebb7f6f9b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1817,11 +1817,6 @@ static inline struct sk_buff *tcp_rtx_queue_tail(const struct sock *sk)
return skb_rb_last(&sk->tcp_rtx_queue);
}
-static inline struct sk_buff *tcp_write_queue_head(const struct sock *sk)
-{
- return skb_peek(&sk->sk_write_queue);
-}
-
static inline struct sk_buff *tcp_write_queue_tail(const struct sock *sk)
{
return skb_peek_tail(&sk->sk_write_queue);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] tcp: Remove the unused api
2022-03-01 14:35 [PATCH v2] tcp: Remove the unused api Tao Chen
@ 2022-03-03 7:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-03-03 7:00 UTC (permalink / raw)
To: Tao Chen; +Cc: edumazet, davem, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 1 Mar 2022 06:35:42 -0800 you wrote:
> Last tcp_write_queue_head() use was removed in commit
> 114f39feab36 ("tcp: restore autocorking"), so remove it.
>
> Signed-off-by: Tao Chen <chentao3@hotmail.com>
> ---
> include/net/tcp.h | 5 -----
> 1 file changed, 5 deletions(-)
Here is the summary with links:
- [v2] tcp: Remove the unused api
https://git.kernel.org/netdev/net-next/c/42f0c1934c7c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-03 7:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-01 14:35 [PATCH v2] tcp: Remove the unused api Tao Chen
2022-03-03 7:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox