]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
RDMA/mlx5: Remove duplicated assignment to variable rcqe_sz
authorColin Ian King <colin.king@canonical.com>
Thu, 7 May 2020 15:16:10 +0000 (16:16 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 May 2020 00:02:58 +0000 (21:02 -0300)
commit52c81f47f0d2680f0b2e7b61c1fa4d8ad35f3020
tree92e6920ea5e56917704d3e7d3f1e5b063f4221cf
parent42caf9cb59370cc6f296c7a9fe39fa66963236ff
RDMA/mlx5: Remove duplicated assignment to variable rcqe_sz

The variable rcqe_sz is being unnecessarily assigned twice, fix this by
removing one of the duplicates.

Fixes: 8bde2c509e40 ("RDMA/mlx5: Update all DRIVER QP places to use QP subtype")
Link: https://lore.kernel.org/r/20200507151610.52636-1-colin.king@canonical.com
Addresses-Coverity: ("Evaluation order violation")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c