From nobody Tue Dec 14 11:07:30 2021 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 E653A18DE001; Tue, 14 Dec 2021 11:07:31 +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 4JCwZW4NY1z3P04; Tue, 14 Dec 2021 11:07:30 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C00F026D64; Tue, 14 Dec 2021 11:07:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BEB7Uxk040426; Tue, 14 Dec 2021 11:07:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BEB7Uvv040425; Tue, 14 Dec 2021 11:07:30 GMT (envelope-from git) Date: Tue, 14 Dec 2021 11:07:30 GMT Message-Id: <202112141107.1BEB7Uvv040425@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: e50a0a8c44fa - stable/13 - Remove redundant declarations 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: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e50a0a8c44faf8cd155195848dfeab6b390b34ec Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639480051; 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=BdYTCNIrCD07ZvY40mmKflOTOHhZUEVm2DnG2foMjUM=; b=xoKsJXCxuU5OLfiNo1CV6djnREUgCO+BfNQQxbL4erZCXPPnZiWXnj0LxtMEEEfj16hjAK gRCwD2L06gOFYwf0liIzReO3jplg5g53TXnLJ4F+prSJSJQ4xM0oUuWtYyS+4mYtgHxfye Vg50N22zvX3CIfkvFVqYi1mpITIXeo4v+AlbtxBJWP3XMG2Z5LRk9Vq/H9ytSbJ7pxB9+w U4/r2Y3J/4ufQV7RiYybEe9IcQbfs4tftMFnwNhrGGiwdjcNx9iJyEh7/ip3rK9lraa6E1 7NJck26U4GbjdcntKQuyC1IAiB9W5Pyg4usWS668qcYDJoX4jmv3KD+YkN/PAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639480051; a=rsa-sha256; cv=none; b=FGzAI2z9AQSWlc5YzIOgD2bPJlhp9JyW2MDUKaRNj2C4IDShe+FX9/QlvjkZP9QZ/AmjW5 AIUmth7Mdh8VNA/L+g7FOgAFRXvFjoP9NaAqeXlH2S5Qy93SeSvQzY3tzTHywnZn/GSot8 e43+gghQGDaIj5/Q9o8o7ls4m+FwJDmQWS+NQnq8UOLoGRx5P987bGwm9lu6Nk3Q6lIUSx /NnMs/MJ9j46MVGCv7I8uHzg2+O1UainVWTXCpXSOj+ytl48EYty9By+2BvQcZ1jYgYsJC sgsxGgg43f+Ecw1SfVkWfpIaMcsXiikyL1EWvwADZHY/lI7QSVdAbDgkUKZzAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=e50a0a8c44faf8cd155195848dfeab6b390b34ec commit e50a0a8c44faf8cd155195848dfeab6b390b34ec Author: Andrew Turner AuthorDate: 2021-11-23 17:26:35 +0000 Commit: Andrew Turner CommitDate: 2021-12-14 10:58:01 +0000 Remove redundant declarations These are already defined in the same file. Sponsored by: The FreeBSD Foundation (cherry picked from commit dd978721a223e3f9d35a7be5407c52a281fcec8f) --- sys/arm64/rockchip/clk/rk_clk_fract.c | 3 --- sys/arm64/rockchip/rk_pcie_phy.c | 1 - 2 files changed, 4 deletions(-) diff --git a/sys/arm64/rockchip/clk/rk_clk_fract.c b/sys/arm64/rockchip/clk/rk_clk_fract.c index afdf56cfade7..2b347db91790 100644 --- a/sys/arm64/rockchip/clk/rk_clk_fract.c +++ b/sys/arm64/rockchip/clk/rk_clk_fract.c @@ -179,9 +179,6 @@ rk_clk_fract_set_gate(struct clknode *clk, bool enable) return (0); } -static int -rk_clk_fract_set_freq(struct clknode *clk, uint64_t fin, uint64_t *fout, - int flags, int *stop); static int rk_clk_fract_recalc(struct clknode *clk, uint64_t *freq) { diff --git a/sys/arm64/rockchip/rk_pcie_phy.c b/sys/arm64/rockchip/rk_pcie_phy.c index 75bd213bfd23..816bb26a9e16 100644 --- a/sys/arm64/rockchip/rk_pcie_phy.c +++ b/sys/arm64/rockchip/rk_pcie_phy.c @@ -252,7 +252,6 @@ rk_pcie_phy_enable(struct phynode *phynode, bool enable) } /* Phy class and methods. */ -static int rk_pcie_phy_enable(struct phynode *phynode, bool enable); static phynode_method_t rk_pcie_phy_phynode_methods[] = { PHYNODEMETHOD(phynode_enable, rk_pcie_phy_enable),