diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2023-08-04 21:04:18 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-08-08 21:35:05 +0300 |
commit | d952f54d01ec2ea5ee9d5e21f2ea3a5807b4bcbc (patch) | |
tree | df4cd16b717352559118079f61228ce827ba9365 /drivers | |
parent | 64917f4c35b3e490e0c0f966fab533dfb560db5e (diff) | |
download | linux-d952f54d01ec2ea5ee9d5e21f2ea3a5807b4bcbc.tar.gz linux-d952f54d01ec2ea5ee9d5e21f2ea3a5807b4bcbc.tar.bz2 linux-d952f54d01ec2ea5ee9d5e21f2ea3a5807b4bcbc.zip |
RDMA/hns: Remove unused declaration hns_roce_modify_srq()
Commit c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode")
declared but never implemented this.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230804130418.41728-1-yuehaibing@huawei.com
Reviewed-by: Junxian Huang <huangjunxian6@hisilicon.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index bfe4d84897ad..9691cfdd7e3d 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -1160,9 +1160,6 @@ int hns_roce_get_umem_bufs(struct hns_roce_dev *hr_dev, dma_addr_t *bufs, int hns_roce_create_srq(struct ib_srq *srq, struct ib_srq_init_attr *srq_init_attr, struct ib_udata *udata); -int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, - enum ib_srq_attr_mask srq_attr_mask, - struct ib_udata *udata); int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata); int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata); |