[PATCH] io_uring/net: drop unused 'fast_iov_one' entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Doesn't really matter at this point, as the fast_iov entries dominate
the size of io_async_msghdr. But that may not always be the case, so
drop this unused member. It turns out it got added in a previous commit,
but never actually used for anything.

Fixes: 9bb66906f23e ("io_uring: support multishot in recvmsg")
Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>

---

diff --git a/io_uring/net.h b/io_uring/net.h
index 191009979bcb..9d7962f65f26 100644
--- a/io_uring/net.h
+++ b/io_uring/net.h
@@ -10,7 +10,6 @@ struct io_async_msghdr {
 	union {
 		struct iovec		fast_iov[UIO_FASTIOV];
 		struct {
-			struct iovec	fast_iov_one;
 			__kernel_size_t	controllen;
 			int		namelen;
 			__kernel_size_t	payloadlen;

-- 
Jens Axboe





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux