[PATCH net-next 4/7] af_unix: Drop unix_stream_read_state::splice_flags
From: Michal Luczaj
Date: Tue Jun 24 2025 - 05:55:43 EST
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@xxxxxxx>
---
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