提交 ec06530e 编写于 作者: S Sagi Grimberg 提交者: Doug Ledford

nvmet-rdma: remove redundant empty device add callout

Now that its not needed, we can simply not assign it.
Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NSagi Grimberg <sagi@grimberg.me>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 5138e4bd
...@@ -1510,10 +1510,6 @@ static struct nvmet_fabrics_ops nvmet_rdma_ops = { ...@@ -1510,10 +1510,6 @@ static struct nvmet_fabrics_ops nvmet_rdma_ops = {
.delete_ctrl = nvmet_rdma_delete_ctrl, .delete_ctrl = nvmet_rdma_delete_ctrl,
}; };
static void nvmet_rdma_add_one(struct ib_device *ib_device)
{
}
static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data) static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data)
{ {
struct nvmet_rdma_queue *queue; struct nvmet_rdma_queue *queue;
...@@ -1534,7 +1530,6 @@ static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data ...@@ -1534,7 +1530,6 @@ static void nvmet_rdma_remove_one(struct ib_device *ib_device, void *client_data
static struct ib_client nvmet_rdma_ib_client = { static struct ib_client nvmet_rdma_ib_client = {
.name = "nvmet_rdma", .name = "nvmet_rdma",
.add = nvmet_rdma_add_one,
.remove = nvmet_rdma_remove_one .remove = nvmet_rdma_remove_one
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册