RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()
authorLijun Ou <oulijun@huawei.com>
Mon, 6 Jan 2020 12:21:13 +0000 (20:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Jan 2020 20:26:33 +0000 (16:26 -0400)
commit032b0574161fdd381220de7cfd26ad3cb284cbc0
treec25ff40ce50ca8b1cc62001df5d99bcd019fd953
parent5e049a5d6c83b8a4aea70f02d4fd81f592a2cb49
RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()

Current state and new state of qp won't be configured when modifying qp,
so these two redundant parameters should be removed.

Link: https://lore.kernel.org/r/1578313276-29080-5-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@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