]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: remove nvme_alloc_request and nvme_alloc_request_qid
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Mar 2022 14:53:59 +0000 (15:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 Mar 2022 08:47:05 +0000 (09:47 +0100)
commit6ef3ff5215a5fec1c28458cada96a59bc9d442d3
tree8703d78a1206fcaac48cecedd3e38feac5ec95fc
parentad4888ee578a90df440bd85c2449ea71fbd2128a
nvme: remove nvme_alloc_request and nvme_alloc_request_qid

Just open code the allocation + initialization in the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/core.c
drivers/nvme/host/ioctl.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/target/passthru.c