RDMA/mlx5: Remove dead check for EAGAIN after alloc_mr_from_cache()
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 14 Sep 2020 11:26:49 +0000 (14:26 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 18 Sep 2020 16:02:42 +0000 (13:02 -0300)
commit2e4e706e094a3fe654c893ac5c1c294de96be25b
tree16f2976999912bbd425544ae793bd8006933bc6c
parent22d3e1ed2cc837af87f76c3c8a4ccf4455e225c5
RDMA/mlx5: Remove dead check for EAGAIN after alloc_mr_from_cache()

alloc_mr_from_cache() no longer returns EAGAIN, this is just dead code
now.

Fixes: aad719dcf379 ("RDMA/mlx5: Allow MRs to be created in the cache synchronously")
Link: https://lore.kernel.org/r/20200914112653.345244-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mr.c