Commit 5138e4bd authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Doug Ledford

nvme-rdma: remove redundant empty device add callout

Now that its not needed, we can simply not assign it.
Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b059e210
...@@ -1946,10 +1946,6 @@ static struct nvmf_transport_ops nvme_rdma_transport = { ...@@ -1946,10 +1946,6 @@ static struct nvmf_transport_ops nvme_rdma_transport = {
.create_ctrl = nvme_rdma_create_ctrl, .create_ctrl = nvme_rdma_create_ctrl,
}; };
static void nvme_rdma_add_one(struct ib_device *ib_device)
{
}
static void nvme_rdma_remove_one(struct ib_device *ib_device, void *client_data) static void nvme_rdma_remove_one(struct ib_device *ib_device, void *client_data)
{ {
struct nvme_rdma_ctrl *ctrl; struct nvme_rdma_ctrl *ctrl;
...@@ -1971,7 +1967,6 @@ static void nvme_rdma_remove_one(struct ib_device *ib_device, void *client_data) ...@@ -1971,7 +1967,6 @@ static void nvme_rdma_remove_one(struct ib_device *ib_device, void *client_data)
static struct ib_client nvme_rdma_ib_client = { static struct ib_client nvme_rdma_ib_client = {
.name = "nvme_rdma", .name = "nvme_rdma",
.add = nvme_rdma_add_one,
.remove = nvme_rdma_remove_one .remove = nvme_rdma_remove_one
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment