diff options
author | Eric Dumazet <edumazet@google.com> | 2023-06-09 22:42:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 12:38:54 +0200 |
commit | 5882efff88aa7063ebdecd4ee92cc2cd1d0b3a8f (patch) | |
tree | cb4c097a4d86248bfcf0729e70bb9399794c27c3 /include/net/tcp.h | |
parent | tcp: remove some dead code (diff) | |
download | linux-5882efff88aa7063ebdecd4ee92cc2cd1d0b3a8f.tar.xz linux-5882efff88aa7063ebdecd4ee92cc2cd1d0b3a8f.zip |
tcp: remove size parameter from tcp_stream_alloc_skb()
Now all tcp_stream_alloc_skb() callers pass @size == 0, we can
remove this parameter.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index f718ed258f07..bf9f56225821 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -350,7 +350,7 @@ void tcp_twsk_purge(struct list_head *net_exit_list, int family); ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags); -struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp, +struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, gfp_t gfp, bool force_schedule); void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks); |