Date: Wed, 25 Oct 2023 14:04:50 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 876fddc88698 - main - tcp: Silence a -Wunused-function warning in tcp_ratelimit.h Message-ID: <202310251404.39PE4oVK039481@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) { }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310251404.39PE4oVK039481>