nvme: remove nvme_ctrl_init_connect_q
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 15:50:18 +0000 (17:50 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:17 +0000 (14:44 +0200)
Unused now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/nvme.h

index 56000a8..7902c52 100644 (file)
@@ -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;