diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 19:11:49 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-29 11:43:47 -0400 |
commit | 39bfc271bd687be2c8e396e976c0fb9a97963400 (patch) | |
tree | ede95a682667b7b1e5b118a018d1c86c518f0f27 /drivers/infiniband | |
parent | 5eae15927b3bccca6497506c8da38895da029b98 (diff) | |
download | op-kernel-dev-39bfc271bd687be2c8e396e976c0fb9a97963400.zip op-kernel-dev-39bfc271bd687be2c8e396e976c0fb9a97963400.tar.gz |
IB/core: Remove old fast registration API
No callers and no providers left, go ahead and remove it.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/verbs.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index 5673df0..e2e53f9 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c @@ -1280,31 +1280,6 @@ struct ib_mr *ib_alloc_mr(struct ib_pd *pd, } EXPORT_SYMBOL(ib_alloc_mr); -struct ib_fast_reg_page_list *ib_alloc_fast_reg_page_list(struct ib_device *device, - int max_page_list_len) -{ - struct ib_fast_reg_page_list *page_list; - - if (!device->alloc_fast_reg_page_list) - return ERR_PTR(-ENOSYS); - - page_list = device->alloc_fast_reg_page_list(device, max_page_list_len); - - if (!IS_ERR(page_list)) { - page_list->device = device; - page_list->max_page_list_len = max_page_list_len; - } - - return page_list; -} -EXPORT_SYMBOL(ib_alloc_fast_reg_page_list); - -void ib_free_fast_reg_page_list(struct ib_fast_reg_page_list *page_list) -{ - page_list->device->free_fast_reg_page_list(page_list); -} -EXPORT_SYMBOL(ib_free_fast_reg_page_list); - /* Memory windows */ struct ib_mw *ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) |