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)
commit8b91ffc1cf67d3f0834197c80c5182890c8d508d
treebba8392ef314b50174c9ea2360465aa69c39967d
parentbe688195bd08b1c045f89d72c07c7e3ef6516f38
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
This page took 0.029355 seconds and 5 git commands to generate.