git: 727fd8a73df5 - main - irdma: Silence an unused function warning

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 13:44:29 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=727fd8a73df595453572b1f89e569d01c77eb63e

commit 727fd8a73df595453572b1f89e569d01c77eb63e
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-04-26 13:36:31 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-04-26 13:36:52 +0000

    irdma: Silence an unused function warning
    
    Reviewed by:    erj
    Fixes:  35105900c65b ("irdma(4): Upgrade the driver to 1.1.11-k")
    Differential Revision:  https://reviews.freebsd.org/D39719
---
 sys/dev/irdma/irdma_cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/irdma/irdma_cm.c b/sys/dev/irdma/irdma_cm.c
index 9f88f6e3cdfe..09f6e6482d8a 100644
--- a/sys/dev/irdma/irdma_cm.c
+++ b/sys/dev/irdma/irdma_cm.c
@@ -4205,7 +4205,7 @@ irdma_cm_post_event(struct irdma_cm_event *event)
  *
  * teardown QPs where source or destination addr matches ip addr
  */
-static void
+static void __unused
 irdma_cm_teardown_connections(struct irdma_device *iwdev,
 			      u32 *ipaddr,
 			      struct irdma_cm_info *nfo,