]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/hns: Remove redundant 'attr_mask' in modify_qp_init_to_init()
authorYixing Liu <liuyixing1@huawei.com>
Thu, 22 Sep 2022 12:33:07 +0000 (20:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 12:28:45 +0000 (13:28 +0100)
commit5e7c02730ccec1113d3a24e9a518ef99d7ba262c
treeb0229d653c4041359402e19e33fb3130af9235ad
parenta03b9689e4e566b5be10543196a58cbe4ea209ba
RDMA/hns: Remove redundant 'attr_mask' in modify_qp_init_to_init()

[ Upstream commit bb4874af19686019d0dafd58726ed7b4058663ca ]

The attr_mask variable is not used in the function,
so remove it.

Link: https://lore.kernel.org/r/20220922123315.3732205-5-xuhaoyue1@hisilicon.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: 8673a6c2d9e4 ("RDMA/hns: Fix mapping error of zero-hop WQE buffer")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c