]> 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)
commit8d0be5a2b523d640589b658b4dc4ae194708083d
tree8703d78a1206fcaac48cecedd3e38feac5ec95fc
parent55fee074fbb0540330da0649b278e8420983c02c
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