From nobody Sun Feb 18 14:28:30 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Td7M24D0rz59pSN; Sun, 18 Feb 2024 14:28:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Td7M23RMTz3x50; Sun, 18 Feb 2024 14:28:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708266510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CfmncsT4MNgZtOYE1hWx/f87RKlyZVWUAhgdFiTMjxM=; b=mTEt/hBSKH/lxMf+jJx0edCpjp58B7SZ9gKJ9LIEb2byMSsGxtAxbFLeuXOCDQkAeyiLDm nOkmTi8fO1bxloP/xkolAW4ykH9CLJjvcvVqh1v+paR7S00mbs7a7b9yBWIjgWUMR7pycK B13IdfZVi8BXSnrrdDkbu4VaL5pM3v9ifVqoVKRJ/cFjxhWGkEg5hYqsmJmXTjmijJ/Io4 6Wp+sqWqqtoqf1pZMvNPAiny9Khd9m+E/h/Jk47Q5rMgf3dyFB+N901AswZXF7ZBlzFGbT SwSiNOEjpvPi4JIKll2UWvxzaaPBaW94k3+tFRm7ppoR9FRtN7GPh/k4qi7SDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708266510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CfmncsT4MNgZtOYE1hWx/f87RKlyZVWUAhgdFiTMjxM=; b=Cdkt0JIEdINXv36HoIG3A207RnJJTHwi/XZhKr0r9yUuQgc+1qhehuT0MWOvHa66WWSc9I AmSHJVE0qEfS9Iyg8CjxcsTXQWwlFxJBEuXNsPmqVVISpEztW3YbgjbyHx9gg3hen4ORsy l3kg56vA4NKpq2FGQHtLQAyWA8jPCo/TZbX8qP/QJW65cWwjDtHk3X8WjqrtT/RErFXObc REE8W2Lmmm2QTcMaYtLZ6VJn9Us5bvgfZAdkcvhCL5ThysZFWvk1QQFC0qDNjD+y65VjuH hXgIwOClaZWj8OG7icH2S/sRNuWghuNVqV80v5Fepc+R2c39rZpLWct47BsgqA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708266510; a=rsa-sha256; cv=none; b=qH+CnbY+0TZacMqw8xKyl/cNkY9zTT7NGSmKGJnZzcQKV0LaDp7+jIFQO+DlQQ2SV8WFbX 0TBo7ekn+TwRYvbvrEJuio+JOyWpJD6E/f9Grj9Jo2Hfe6HWjmb1HmAT7MuFowQS3ypusR sknBO7Ul79o37aX/IMJUGi7VbKCRfS1q6y00Ern35U40QXHsHZLn805Xkn3Lz9b+8P8g6n 5rZUCkwVX2K/13ws5lUvb+Xh7GY6/072Smq+iun0hVBlzPA9iIO86qA8h1RS3JC6TbfCoh qxC/qn/ouq3reDPSDmzHpvj4BxwvmGX+ID2GDsVK6RB0IM6lcRX1KEIv5B3JFA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Td7M22VPdzvKt; Sun, 18 Feb 2024 14:28:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41IESUBT023985; Sun, 18 Feb 2024 14:28:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41IESUJv023982; Sun, 18 Feb 2024 14:28:30 GMT (envelope-from git) Date: Sun, 18 Feb 2024 14:28:30 GMT Message-Id: <202402181428.41IESUJv023982@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Piotr Pawel Stefaniak Subject: git: c8691d183da3 - stable/14 - tcp: Silence a -Wunused-function warning in tcp_ratelimit.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pstef X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c8691d183da3d1b69a8facd999c230fadce801c7 Auto-Submitted: auto-generated The branch stable/14 has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=c8691d183da3d1b69a8facd999c230fadce801c7 commit c8691d183da3d1b69a8facd999c230fadce801c7 Author: Mark Johnston AuthorDate: 2023-10-25 14:03:58 +0000 Commit: Piotr Paweł Stefaniak 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) { }