RDMA/mlx5: Melt consecutive calls to alloc_bfreg() in one call
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 8 Jul 2018 10:50:20 +0000 (13:50 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Jul 2018 17:54:50 +0000 (11:54 -0600)
commitffaf58def01ebdbf2669204e105c5a4f356ba276
tree6e56fb949a1ea4b080a9d891d37787e9bf9a2e51
parent65ca8d9670b70aa8076054c0c23be032c6ac5c77
RDMA/mlx5: Melt consecutive calls to alloc_bfreg() in one call

There is no need for three consecutive calls to alloc_bfreg(). It can be
implemented with one function.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c