git: c8691d183da3 - stable/14 - tcp: Silence a -Wunused-function warning in tcp_ratelimit.h

From: Piotr Pawel Stefaniak <pstef_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 14:28:30 UTC
The branch stable/14 has been updated by pstef:

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

commit c8691d183da3d1b69a8facd999c230fadce801c7
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-25 14:03:58 +0000
Commit:     Piotr Paweł Stefaniak <pstef@FreeBSD.org>
CommitDate: 2024-02-18 14:26:28 +0000

    tcp: Silence a -Wunused-function warning in tcp_ratelimit.h
    
    No functional change intended.
    
    (cherry picked from commit 876fddc886987ddbc89c412b15874749764167ac)
---
 sys/netinet/tcp_ratelimit.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/tcp_ratelimit.h b/sys/netinet/tcp_ratelimit.h
index e33e9d47ff5a..cd540d1164e1 100644
--- a/sys/netinet/tcp_ratelimit.h
+++ b/sys/netinet/tcp_ratelimit.h
@@ -213,7 +213,7 @@ tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segs
 }
 
 /* Do nothing if RATELIMIT is not defined */
-static void
+static inline void
 tcp_rl_log_enobuf(const struct tcp_hwrate_limit_table *rte)
 {
 }