diff options
author | 2023-11-30 13:53:09 -0800 | |
---|---|---|
committer | 2023-12-01 18:29:18 -0700 | |
commit | 8fadb86d4ced8b8349a3b227d6d66736ff150819 (patch) | |
tree | efbb6ec6ce356e78fdd649dec84fed29c8596c8d /include | |
parent | iouring: remove IORING_URING_CMD_POLLED (diff) | |
download | linux-8fadb86d4ced8b8349a3b227d6d66736ff150819.tar.gz linux-8fadb86d4ced8b8349a3b227d6d66736ff150819.tar.bz2 linux-8fadb86d4ced8b8349a3b227d6d66736ff150819.zip |
io_uring: remove uring_cmd cookie
No more users of this field.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20231130215309.2923568-5-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/io_uring.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/io_uring.h b/include/linux/io_uring.h index fe23bf88f86f..9e6ce6d4ab51 100644 --- a/include/linux/io_uring.h +++ b/include/linux/io_uring.h @@ -32,12 +32,8 @@ enum io_uring_cmd_flags { struct io_uring_cmd { struct file *file; const struct io_uring_sqe *sqe; - union { - /* callback to defer completions to task context */ - void (*task_work_cb)(struct io_uring_cmd *cmd, unsigned); - /* used for polled completion */ - void *cookie; - }; + /* callback to defer completions to task context */ + void (*task_work_cb)(struct io_uring_cmd *cmd, unsigned); u32 cmd_op; u32 flags; u8 pdu[32]; /* available inline for free use */ |