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)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commitbb4874af19686019d0dafd58726ed7b4058663ca
tree5abfb539459911f67c1a7896168e1281d78be2d8
parent064fd299a70bae37a3c4d49ad6eb1766e57e4c24
RDMA/hns: Remove redundant 'attr_mask' in modify_qp_init_to_init()

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>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c