public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: io-uring <[email protected]>
Subject: [PATCH] io_uring/net: drop unused 'fast_iov_one' entry
Date: Tue, 19 Mar 2024 17:37:09 -0600	[thread overview]
Message-ID: <[email protected]> (raw)

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 <[email protected]>

---

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


             reply	other threads:[~2024-03-19 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 23:37 Jens Axboe [this message]
2024-03-20 13:59 ` [PATCH] io_uring/net: drop unused 'fast_iov_one' entry Dylan Yudaken
2024-03-20 14:41   ` Jens Axboe

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 \
    [email protected] \
    [email protected] \
    [email protected] \
    /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