]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Avoid setting redundant NULL for XRC QPs
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 27 Apr 2020 15:46:05 +0000 (18:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 28 Apr 2020 23:42:21 +0000 (20:42 -0300)
commitd5e7d98d00df95d4e5d9b3f6dc537104b6a7b21b
tree1377244f45bacb7c21f9b3641440ebc13d168f2c
parent4dfb16b3f5c9cbf357fb64b33e68ae2a9a031d7f
RDMA/mlx5: Avoid setting redundant NULL for XRC QPs

There is no need to set NULL in recv_cq and send_cq, they are already
set to NULL by the IB/core logic.

Link: https://lore.kernel.org/r/20200427154636.381474-6-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c