RDMA/hns: Remove redundant parameters in set_rc_wqe()
authorWeihang Li <liweihang@huawei.com>
Tue, 28 Jul 2020 10:42:18 +0000 (18:42 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 30 Jul 2020 14:31:02 +0000 (11:31 -0300)
commiteaaa98dedf280afea15ad3552460bf142fecb9af
treeddb349770bf3f1e82d2961a26245419002bd916a
parenta247fd28c19bdc97530ce147a23266eff9a39786
RDMA/hns: Remove redundant parameters in set_rc_wqe()

There are some functions called by set_rc_wqe() use two parameters:
"void *wqe" and "struct hns_roce_v2_rc_send_wqe *rc_sq_wqe", but the first
one can be got from the second one. So remove the redundant wqe from
related functions.

Link: https://lore.kernel.org/r/1595932941-40613-5-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c