aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-12-21 01:40:18 +0000
committerLeon Romanovsky <leon@kernel.org>2024-12-24 05:00:42 -0500
commit30dd62fa3954cb7697dbae9c33b2a5c50d8b5c6a (patch)
tree1dfe84430d7f29516f1dc2349b98b7e55862c016 /include/rdma
parentRDMA/irdma: Remove unused irdma_cqp_*_fpm_val_cmd functions (diff)
downloadlinux-30dd62fa3954cb7697dbae9c33b2a5c50d8b5c6a.tar.gz
linux-30dd62fa3954cb7697dbae9c33b2a5c50d8b5c6a.zip
RDMA/core: Remove unused ib_ud_header_unpack
ib_ud_header_unpack() is unused, and I can't see any sign of it ever having been used in git. The only reference I can find is from December 2004 BKrev: 41d30034XNbBUl0XnyC6ig9V61Nf-A when it looks like it was added. Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://patch.msgid.link/20241221014021.343979-2-linux@treblig.org Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_pack.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rdma/ib_pack.h b/include/rdma/ib_pack.h
index b8c56d7dc35d..8266fab826a7 100644
--- a/include/rdma/ib_pack.h
+++ b/include/rdma/ib_pack.h
@@ -283,7 +283,4 @@ int ib_ud_header_init(int payload_bytes,
int ib_ud_header_pack(struct ib_ud_header *header,
void *buf);
-int ib_ud_header_unpack(void *buf,
- struct ib_ud_header *header);
-
#endif /* IB_PACK_H */