summaryrefslogtreecommitdiff
path: root/include/rdma
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2025-04-18 19:58:48 +0300
committerLeon Romanovsky <leon@kernel.org>2025-04-20 18:21:46 +0300
commit04039390cc3cb3d1e6ce6bb1680cbdfe117d6473 (patch)
treef5942c63a1ba953896bc5d172d05a2fd388bd96c /include/rdma
parentf1652d76f4c51b5aefd14706eecbd70f05ca987a (diff)
downloadlinux-04039390cc3cb3d1e6ce6bb1680cbdfe117d6473.tar.xz
RDMA/cma: Remove unused rdma_res_to_id
The last use of rdma_res_to_id() was removed in 2020 by commi t211cd9459fda ("RDMA: Add dedicated CM_ID resource tracker function") Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://patch.msgid.link/20250418165848.241305-1-linux@treblig.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/rdma_cm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h
index 8a8ab2f793ab..d1593ad47e28 100644
--- a/include/rdma/rdma_cm.h
+++ b/include/rdma/rdma_cm.h
@@ -388,6 +388,5 @@ void rdma_read_gids(struct rdma_cm_id *cm_id, union ib_gid *sgid,
union ib_gid *dgid);
struct iw_cm_id *rdma_iw_cm_id(struct rdma_cm_id *cm_id);
-struct rdma_cm_id *rdma_res_to_id(struct rdma_restrack_entry *res);
#endif /* RDMA_CM_H */