RDMA/hns: Remove redundant 'max_srq_desc_sz' in caps
authorYangyang Li <liyangyang20@huawei.com>
Thu, 22 Sep 2022 12:33:12 +0000 (20:33 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 27 Sep 2022 13:15:25 +0000 (10:15 -0300)
commit6649b4a1c43c6ad153c3ff0c1754a436aa6b6390
tree43d89987f7b79a202787a76828e73e26076f08a5
parent5436272c8cf4eb420fdb3926ec07560051c8fd11
RDMA/hns: Remove redundant 'max_srq_desc_sz' in caps

The max_srq_desc_sz is defined in the code, but never used,
so delete this redundant variable.

Link: https://lore.kernel.org/r/20220922123315.3732205-10-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