summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-09-20 17:50:18 +0200
committerChristoph Hellwig <hch@lst.de>2022-09-27 14:44:17 +0200
commitfe6f04c079d0e4b38178955e0ea9d3fbc5d4066b (patch)
tree485ac6d22d6fd00ac1f78661c1fee6fbd21b71b0 /drivers/nvme
parentnvme-loop: use the tagset alloc/free helpers (diff)
downloadlinux-fe6f04c079d0e4b38178955e0ea9d3fbc5d4066b.tar.xz
linux-fe6f04c079d0e4b38178955e0ea9d3fbc5d4066b.zip
nvme: remove nvme_ctrl_init_connect_q
Unused now. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/nvme.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 56000a846a48..7902c5245363 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -990,14 +990,6 @@ static inline int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf)
}
#endif
-static inline int nvme_ctrl_init_connect_q(struct nvme_ctrl *ctrl)
-{
- ctrl->connect_q = blk_mq_init_queue(ctrl->tagset);
- if (IS_ERR(ctrl->connect_q))
- return PTR_ERR(ctrl->connect_q);
- return 0;
-}
-
static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev)
{
return dev_to_disk(dev)->private_data;