RDMA/hns: Remove redundant qpc setup operations
authorLang Cheng <chenglang@huawei.com>
Fri, 20 Mar 2020 03:23:40 +0000 (11:23 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Mar 2020 19:52:28 +0000 (16:52 -0300)
commitf4c5d869c8270703c3f3267242e4cc968c723370
treea7d7a1e43e5167f6bdd71b8d3e095ed6e1060540
parentbceda6e67b8f211419876c64ce2125f683927e64
RDMA/hns: Remove redundant qpc setup operations

Before calling modify_qp_reset_to_init(), the entire qpc mask has been
cleared, so it is no longer necessary to clear the specific fields in the
mask.

Link: https://lore.kernel.org/r/1584674622-52773-9-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c