RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt()
authorChengchang Tang <tangchengchang@huawei.com>
Thu, 22 Sep 2022 12:33:10 +0000 (20:33 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commit5f652387c5423a82453c5cb446a88834bf41a94b
tree9148b7f57149d60e342b8438b3a9cf8919b9b6fa
parent29dc063596772368aa896f293f5c5aef06381712
RDMA/hns: Remove redundant 'phy_addr' in hns_roce_hem_list_find_mtt()

This parameter has never been used. Remove it to simplify the function.

Link: https://lore.kernel.org/r/20220922123315.3732205-8-xuhaoyue1@hisilicon.com
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hem.c
drivers/infiniband/hw/hns/hns_roce_hem.h
drivers/infiniband/hw/hns/hns_roce_mr.c