]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme: remove nvme_dev_uring_cmd() IO_URING_F_IOPOLL check
authorCaleb Sander Mateos <csander@purestorage.com>
Mon, 2 Mar 2026 17:29:14 +0000 (10:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2026 22:14:14 +0000 (16:14 -0600)
commitf144dbac4b177cfd026e417ab98da518ff3372cb
tree50ebe1007b349d95d0dd92dcb31b432b1045f960
parent23475637b0c47e5028817c9fd4dabe8f7409ca6c
nvme: remove nvme_dev_uring_cmd() IO_URING_F_IOPOLL check

nvme_dev_uring_cmd() is part of struct file_operations nvme_dev_fops,
which doesn't implement ->uring_cmd_iopoll(). So it won't be called with
issue_flags that include IO_URING_F_IOPOLL. Drop the unnecessary
IO_URING_F_IOPOLL check in nvme_dev_uring_cmd().

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://patch.msgid.link/20260302172914.2488599-6-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c