RDMA/mlx5: Simplify clean and destroy MR calls
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 13 Mar 2018 13:29:28 +0000 (15:29 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 15 Mar 2018 14:59:58 +0000 (10:59 -0400)
commiteeea6953c42f85d19e565a4d3a49c1530f602e22
tree48b6673648e4c92c4f049e2c32265c0ebeac1d5d
parentc985bd0ed732c8ce7a2e3d91988a09c5a9c1c0c9
RDMA/mlx5: Simplify clean and destroy MR calls

The failure to destroy the MRs is printed on mlx5_core layer
as error and it makes warning prints useless.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/mr.c