diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-20 18:50:18 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-09-27 15:44:17 +0300 |
commit | fe6f04c079d0e4b38178955e0ea9d3fbc5d4066b (patch) | |
tree | 485ac6d22d6fd00ac1f78661c1fee6fbd21b71b0 /drivers/nvme/host | |
parent | ceee1953f9239b699d80c5ef366712c3fd865cc2 (diff) | |
download | linux-fe6f04c079d0e4b38178955e0ea9d3fbc5d4066b.tar.xz |
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/host')
-rw-r--r-- | drivers/nvme/host/nvme.h | 8 |
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; |