RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'
authorYangyang Li <liyangyang20@huawei.com>
Thu, 22 Sep 2022 12:33:11 +0000 (20:33 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commit5436272c8cf4eb420fdb3926ec07560051c8fd11
treeb20174b39dcdd06976377ddf64eedee64f3c32e4
parent5f652387c5423a82453c5cb446a88834bf41a94b
RDMA/hns: Remove redundant 'num_mtt_segs' and 'max_extend_sg'

The num_mtt_segs and max_extend_sg used to be used for HIP06,
remove them since the HIP06 code has been removed.

Link: https://lore.kernel.org/r/20220922123315.3732205-9-xuhaoyue1@hisilicon.com
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.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