]> git.baikalelectronics.ru Git - kernel.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)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commit5b8bc4b99eea16bd8e2d93fdeb1d117d5dc4980d
tree5abfb539459911f67c1a7896168e1281d78be2d8
parent10480a9e6464cb1ebd91a165e16baac6bf636d10
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