git: 876fddc88698 - main - tcp: Silence a -Wunused-function warning in tcp_ratelimit.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 14:04:50 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=876fddc886987ddbc89c412b15874749764167ac
commit 876fddc886987ddbc89c412b15874749764167ac
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-25 14:03:58 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-25 14:03:58 +0000
tcp: Silence a -Wunused-function warning in tcp_ratelimit.h
No functional change intended.
---
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)
{
}