RDMA/hns: Remove duplicated hem page size config code
authorXi Wang <wangxi11@huawei.com>
Tue, 6 Apr 2021 13:25:14 +0000 (21:25 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 23:01:28 +0000 (20:01 -0300)
commit719d13415f5977710afeb5f4e622c5c9c18976fa
treeda65178392678e72d0252b707bdbf4519b9832a9
parent0b567cde9d7aa0a6667cc5ac4b89a0927b7b2c3a
RDMA/hns: Remove duplicated hem page size config code

Remove duplicated code for setting hem page size in PF and VF.

Link: https://lore.kernel.org/r/1617715514-29039-7-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h