summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-03-18 13:02:36 +0300
committerLeon Romanovsky <leon@kernel.org>2026-03-30 20:47:43 +0300
commit6c45efd8f9bb8813524c3b8f904989af448bdd72 (patch)
treef9eb2b77feae2902141535e87f19a2149ad9355e /include
parente01027cab38a1a52828eecff447ca5e015b20f92 (diff)
downloadlinux-6c45efd8f9bb8813524c3b8f904989af448bdd72.tar.xz
RDMA/core: Remove unused ib_resize_cq() implementation
There are no in-kernel users of the CQ resize functionality, so drop it. Link: https://patch.msgid.link/20260318-resize_cq-type-v1-1-b2846ed18846@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_verbs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 57b81ca0fabd..37260d37144c 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -4104,15 +4104,6 @@ struct ib_cq *__ib_create_cq(struct ib_device *device,
__ib_create_cq((device), (cmp_hndlr), (evt_hndlr), (cq_ctxt), (cq_attr), KBUILD_MODNAME)
/**
- * ib_resize_cq - Modifies the capacity of the CQ.
- * @cq: The CQ to resize.
- * @cqe: The minimum size of the CQ.
- *
- * Users can examine the cq structure to determine the actual CQ size.
- */
-int ib_resize_cq(struct ib_cq *cq, int cqe);
-
-/**
* rdma_set_cq_moderation - Modifies moderation params of the CQ
* @cq: The CQ to modify.
* @cq_count: number of CQEs that will trigger an event