IB/core: Get rid of redundant verb ib_destroy_mr
[deliverable/linux.git] / include / rdma / ib_verbs.h
index fd7a6950df75ea9bb4c0b1c222bd7ecedc6e615c..521c2059ede5afe415d592b76b84b50ebbfa7dae 100644 (file)
@@ -1671,7 +1671,6 @@ struct ib_device {
        int                        (*query_mr)(struct ib_mr *mr,
                                               struct ib_mr_attr *mr_attr);
        int                        (*dereg_mr)(struct ib_mr *mr);
-       int                        (*destroy_mr)(struct ib_mr *mr);
        struct ib_mr *             (*create_mr)(struct ib_pd *pd,
                                                struct ib_mr_init_attr *mr_init_attr);
        struct ib_mr *             (*alloc_fast_reg_mr)(struct ib_pd *pd,
@@ -2828,15 +2827,6 @@ int ib_dereg_mr(struct ib_mr *mr);
 struct ib_mr *ib_create_mr(struct ib_pd *pd,
                           struct ib_mr_init_attr *mr_init_attr);
 
-/**
- * ib_destroy_mr - Destroys a memory region that was created using
- *     ib_create_mr and removes it from HW translation tables.
- * @mr: The memory region to destroy.
- *
- * This function can fail, if the memory region has memory windows bound to it.
- */
-int ib_destroy_mr(struct ib_mr *mr);
-
 /**
  * ib_alloc_fast_reg_mr - Allocates memory region usable with the
  *   IB_WR_FAST_REG_MR send work request.
This page took 0.026361 seconds and 5 git commands to generate.