netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Luczaj <mhal@rbox.co>
To: "David S. Miller" <davem@davemloft.net>,
	 Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	 Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
	 Neal Cardwell <ncardwell@google.com>,
	Kuniyuki Iwashima <kuniyu@google.com>,
	 David Ahern <dsahern@kernel.org>,
	Boris Pismenny <borisp@nvidia.com>,
	 John Fastabend <john.fastabend@gmail.com>,
	 Ayush Sawal <ayush.sawal@chelsio.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Michal Luczaj <mhal@rbox.co>
Subject: [PATCH net-next 3/7] tcp: Drop tcp_splice_state::flags
Date: Tue, 24 Jun 2025 11:53:50 +0200	[thread overview]
Message-ID: <20250624-splice-drop-unused-v1-3-cf641a676d04@rbox.co> (raw)
In-Reply-To: <20250624-splice-drop-unused-v1-0-cf641a676d04@rbox.co>

Since skb_splice_bits() does not accept @flags anymore, struct's field
became unused. Remove it.

No functional change indented.

Signed-off-by: Michal Luczaj <mhal@rbox.co>
---
 net/ipv4/tcp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 46997793d87ab40dcd1e1dd041e4641e287e1b7e..b6285fb1369d32541b9f7d660ca33389b7e4da61 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -324,7 +324,6 @@ EXPORT_IPV6_MOD(tcp_sockets_allocated);
 struct tcp_splice_state {
 	struct pipe_inode_info *pipe;
 	size_t len;
-	unsigned int flags;
 };
 
 /*
@@ -803,7 +802,6 @@ ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,
 	struct tcp_splice_state tss = {
 		.pipe = pipe,
 		.len = len,
-		.flags = flags,
 	};
 	long timeo;
 	ssize_t spliced;

-- 
2.49.0


  parent reply	other threads:[~2025-06-24  9:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24  9:53 [PATCH net-next 0/7] net: Remove unused function parameters in skbuff.c Michal Luczaj
2025-06-24  9:53 ` [PATCH net-next 1/7] net: splice: Drop unused @pipe Michal Luczaj
2025-06-25 10:07   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 2/7] net: splice: Drop unused @flags Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-24  9:53 ` Michal Luczaj [this message]
2025-06-25 10:06   ` [PATCH net-next 3/7] tcp: Drop tcp_splice_state::flags Simon Horman
2025-06-24  9:53 ` [PATCH net-next 4/7] af_unix: Drop unix_stream_read_state::splice_flags Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 5/7] net: splice: Drop unused @gfp Michal Luczaj
2025-06-25 10:07   ` Simon Horman
2025-06-24  9:53 ` [PATCH net-next 6/7] net: splice: Drop nr_pages_max initialization Michal Luczaj
2025-06-25 10:06   ` Simon Horman
2025-06-25 21:43     ` Michal Luczaj
2025-06-24  9:53 ` [PATCH net-next 7/7] net: skbuff: Drop unused @skb Michal Luczaj
2025-06-25 10:07   ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250624-splice-drop-unused-v1-3-cf641a676d04@rbox.co \
    --to=mhal@rbox.co \
    --cc=andrew+netdev@lunn.ch \
    --cc=ayush.sawal@chelsio.com \
    --cc=borisp@nvidia.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).