summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-07-08 14:22:12 -0600
committerJens Axboe <axboe@kernel.dk>2025-07-18 12:34:56 -0600
commit2e6dbb25ea15844c8b617260d635731c37c85ac9 (patch)
tree7248fb9e41a0f57f74c11394472711328a2d5bd4 /io_uring/uring_cmd.h
parent9aad72b4e3f0233e747bb6b1ec05ea71365f4246 (diff)
io_uring/cmd: remove struct io_uring_cmd_data
There are no more users of struct io_uring_cmd_data and its op_data field. Remove it to shave 8 bytes from struct io_async_cmd and eliminate a store and load for every uring_cmd. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Acked-by: David Sterba <dsterba@suse.com> Link: https://lore.kernel.org/r/20250708202212.2851548-5-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/uring_cmd.h')
-rw-r--r--io_uring/uring_cmd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/uring_cmd.h b/io_uring/uring_cmd.h
index 9e11da10ecab..041aef8a8aa3 100644
--- a/io_uring/uring_cmd.h
+++ b/io_uring/uring_cmd.h
@@ -4,7 +4,6 @@
#include <linux/io_uring_types.h>
struct io_async_cmd {
- struct io_uring_cmd_data data;
struct iou_vec vec;
struct io_uring_sqe sqes[2];
};