]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Get rid of redundant verb ib_destroy_mr
authorSagi Grimberg <sagig@mellanox.com>
Thu, 30 Jul 2015 07:32:34 +0000 (10:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:08:44 +0000 (18:08 -0400)
commite3fd144c625642046bd16f9d5664781693f27a14
treebba8392ef314b50174c9ea2360465aa69c39967d
parentb17c2bfd803d7fac4a0327730c2e6bb1c02b26d4
IB/core: Get rid of redundant verb ib_destroy_mr

This was added in a thought of uniting all mr allocation
and deallocation routines but the fact is we have a single
deallocation routine already, ib_dereg_mr.

And, move mlx5_ib_destroy_mr specific logic into mlx5_ib_dereg_mr
(includes only signature stuff for now).

And, fixup the only callers (iser/isert) accordingly.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/ulp/iser/iser_verbs.c
drivers/infiniband/ulp/isert/ib_isert.c
include/rdma/ib_verbs.h