git: 2a32b54a5774 - main - ofed: don't expose symbols twice

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 08 May 2024 14:54:36 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=2a32b54a5774b1015ae155a58a363b1f56f8fc0a

commit 2a32b54a5774b1015ae155a58a363b1f56f8fc0a
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-05-08 14:52:00 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-05-08 14:52:00 +0000

    ofed: don't expose symbols twice
    
    ibv_init_wq and ibv_cleanup_wq are made visible with the
    default_symver which puts them in the IBVERBS_1.1 ABI.  Don't
    try to expose them as IBVERBS_PRIVATE_14 symbols as GNU ld
    complains with --no-undefined-symbol.
    
    Reviewed by:    kib
    Differential Revision:  https://reviews.freebsd.org/D45090
---
 contrib/ofed/libibverbs/libibverbs.map | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/ofed/libibverbs/libibverbs.map b/contrib/ofed/libibverbs/libibverbs.map
index d94743389f47..52b7f2efd495 100644
--- a/contrib/ofed/libibverbs/libibverbs.map
+++ b/contrib/ofed/libibverbs/libibverbs.map
@@ -137,6 +137,4 @@ IBVERBS_PRIVATE_14 {
 		verbs_register_driver;
 		verbs_init_cq;
 		verbs_cleanup_cq;
-		ibv_init_wq;
-		ibv_cleanup_wq;
 };