[PATCH vfs/for-next 3/3] net: splice_to_socket: RCT declaration cleanup
From: Joe Damato
Date: Sat Mar 22 2025 - 16:41:31 EST
Make declarations reverse x-mas tree style now that splice_to_socket
lives in net/.
Signed-off-by: Joe Damato <jdamato@xxxxxxxxxx>
---
net/socket.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/socket.c b/net/socket.c
index 2640b42cf320..b54df75af1a1 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -3739,11 +3739,11 @@ static ssize_t splice_to_socket(struct pipe_inode_info *pipe, struct file *out,
loff_t *ppos, size_t len, unsigned int flags)
{
struct socket *sock = sock_from_file(out);
+ bool need_wakeup = false;
struct bio_vec bvec[16];
struct msghdr msg = {};
- ssize_t ret = 0;
size_t spliced = 0;
- bool need_wakeup = false;
+ ssize_t ret = 0;
pipe_lock(pipe);
--
2.43.0