[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250624-splice-drop-unused-v1-4-cf641a676d04@rbox.co>
Date: Tue, 24 Jun 2025 11:53:51 +0200
From: Michal Luczaj <mhal@...x.co>
To: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Neal Cardwell <ncardwell@...gle.com>, Kuniyuki Iwashima <kuniyu@...gle.com>,
David Ahern <dsahern@...nel.org>, Boris Pismenny <borisp@...dia.com>,
John Fastabend <john.fastabend@...il.com>,
Ayush Sawal <ayush.sawal@...lsio.com>, Andrew Lunn <andrew+netdev@...n.ch>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Michal Luczaj <mhal@...x.co>
Subject: [PATCH net-next 4/7] af_unix: Drop
unix_stream_read_state::splice_flags
Since skb_splice_bits() does not accept the @flags argument anymore,
struct's field became unused. Remove it.
No functional change indented.
Signed-off-by: Michal Luczaj <mhal@...x.co>
---
net/unix/af_unix.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 235319a045a1238cf27791dfefa9e61b4a593551..1e3a4db1a96a57c84c199e30c164f66409b04be4 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -2674,7 +2674,6 @@ struct unix_stream_read_state {
struct pipe_inode_info *pipe;
size_t size;
int flags;
- unsigned int splice_flags;
};
#if IS_ENABLED(CONFIG_AF_UNIX_OOB)
@@ -3082,7 +3081,6 @@ static ssize_t unix_stream_splice_read(struct socket *sock, loff_t *ppos,
.socket = sock,
.pipe = pipe,
.size = size,
- .splice_flags = flags,
};
if (unlikely(*ppos))
--
2.49.0
Powered by blists - more mailing lists