From nobody Thu Oct 10 08:43:37 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 4XPNZf1W45z5YgKJ; Thu, 10 Oct 2024 08:43:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPNZf0PLcz4jrd; Thu, 10 Oct 2024 08:43:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728549818; 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=kBqMfsQd987qjAVYn162vOh31G0LMCZtil1a/Z141D0=; b=ueha0+7OCdZLuqsWz1SJ8DP65CGyTYVRXTX/F+E3VcCTcHQcn9iG5cgKA6Jn+xwQ3kJXc2 l6BAvs+3Rz0RE7OPf1Y53O1iP3hLcvJkAN+VePRtD0Hx9xfcz1Z3EOKIqW6xVux+ks6vgp vJ6oAOWpZouYdv2Ml0A7M1ju3519/sk23zEcOPewVFCsv2PWBUjXTFAokUhCkMSRImeGbq c7ydgNS5URNchKPEGSZt+bbfbZ4MoB2OluCEZ8w6Q3QzXh1DGfsLIFNPAhO7JoP4mgT3Xt eOI7E/+kGorTLMqU1Eeh1gpNfA0Aw6K0fxBxGMhj6zrzbr5Wp++1S2d27X8mnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728549818; 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=kBqMfsQd987qjAVYn162vOh31G0LMCZtil1a/Z141D0=; b=Uc1CByy7+p18vFZ2++6ZD8T15zkir+NdM3GHcxMI4FmIfE1jfgKCRM6Oawd1r4f42JyuiN up4YTBk+k1yDwQAUTiN04T/5AQ8gZSEjX4/3EQ1xiqpNaTRU5rQxzyGrto+3MaBAU6jYMn UyAE3M7LrPT4BvZJagx5/8SpfmitJksShYJgkfuzYVNSySV8odavYzKjHx5vmvi+qA+YSt gbyWUGUIgI7hIEH1ZeKSSD77mYxKNWibHVe3fbB3HEFcIJ3M/MsdCvVcdmqnwVL9n29XMK HaFc4z2HtZFJFCFz2zY+AOXzShEl2ydipYh2azNbmyE3x7p/RD3NnFjpAmLtPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728549818; a=rsa-sha256; cv=none; b=lbkJA90v51np7eMTTtyTQ8mY0L7DtS027GCoQ+mQ6VnGK7n3AOcwZQstkhF3GU9c3M7Fxz v4MqV5+WdsHcFbjY89J0wH2tgng1DUUuHPhL0QURrp+GZv9JyBlOh2gH39z2ilVBgmXiS5 YHOl+MDdMH/awrmHqayVDgr5XsHlxsIWYS56ZVTyKYfFO9gR7BL/wsfB0/wQTDpwEVp6j8 V2RJwu3WJzw+DKr6ffxyZlfpw/rDtUcKd8nXdyBIbZBwW9E76i1S4+x+/p85sYyl+mWrem cxwBTqONLpAShXBXrqr7ttlplnxfXljXLgcvKFKe8pBZAikBJvw/2vVKXLEhgw== 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 4XPNZf00twzrJP; Thu, 10 Oct 2024 08:43:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49A8hbMP015925; Thu, 10 Oct 2024 08:43:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49A8hbas015922; Thu, 10 Oct 2024 08:43:37 GMT (envelope-from git) Date: Thu, 10 Oct 2024 08:43:37 GMT Message-Id: <202410100843.49A8hbas015922@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: e1a09d1e9df3 - main - sctp: make sctp_free_ifn() static 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e1a09d1e9df30347c279604191a04ce2ef20bf0c Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=e1a09d1e9df30347c279604191a04ce2ef20bf0c commit e1a09d1e9df30347c279604191a04ce2ef20bf0c Author: Michael Tuexen AuthorDate: 2024-10-10 08:42:35 +0000 Commit: Michael Tuexen CommitDate: 2024-10-10 08:43:32 +0000 sctp: make sctp_free_ifn() static It is not used outside of the file. No functional change intended. MFC after: 3 days --- sys/netinet/sctp_pcb.c | 2 +- sys/netinet/sctp_pcb.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 1c634933ed6e..d9dfc4b32821 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -239,7 +239,7 @@ sctp_free_vrf(struct sctp_vrf *vrf) } } -void +static void sctp_free_ifn(struct sctp_ifn *sctp_ifnp) { if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifnp->refcount)) { diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h index ade29fb3544d..ed6a1c34ccf7 100644 --- a/sys/netinet/sctp_pcb.h +++ b/sys/netinet/sctp_pcb.h @@ -508,7 +508,6 @@ sctp_add_addr_to_vrf(uint32_t vrfid, void sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu); -void sctp_free_ifn(struct sctp_ifn *sctp_ifnp); void sctp_free_ifa(struct sctp_ifa *sctp_ifap); void