From nobody Wed Nov 24 15:37:45 2021 X-Original-To: dev-commits-src-main@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 6E40918A72D4; Wed, 24 Nov 2021 15:37:46 +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 4HzlWY5Lzsz3G6B; Wed, 24 Nov 2021 15:37:45 +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 3E4B448C4; Wed, 24 Nov 2021 15:37:45 +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 1AOFbjOW052335; Wed, 24 Nov 2021 15:37:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOFbjjB052334; Wed, 24 Nov 2021 15:37:45 GMT (envelope-from git) Date: Wed, 24 Nov 2021 15:37:45 GMT Message-Id: <202111241537.1AOFbjjB052334@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: dd978721a223 - main - Remove redundant declarations List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: dd978721a223e3f9d35a7be5407c52a281fcec8f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637768265; 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=9pc7oisgrlec5DneOlwajLhQ/N9OngJZT1buhNqV+sg=; b=iR3IWa/5vK3tkEmAB0FrjuU/jvV260x2Kyk5MGYmIgJsvCGzPTkRqKkP/4bdfCjATCDRC9 hbKrCQuvwbVlfZAMRux397FT9EIMMf1U1en0HW2QG5cx2RTzT6wn+gb/C70icJKanul7nA Vyl61McELbKgLdlQ2AegEW+MrzSWbg+QGZRNqJNvRPQH+ECT8sQxc+Sg1kZCq44l2dRG1r pXrAHALl6FjIyQgzm0wb/gcDoHf32Rl8JaDwxr2XMOJFtH13RTeuAkpCM89PYS9INqAZGB fgR1pUEewi631p85zm42KEjUwaaYtQyReyTKBcrrKZCcIlGSodF+BDKO8VN+rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637768265; a=rsa-sha256; cv=none; b=KRedWu7PdRWc1HKh3zmLNxEOk7AssL0dPWQdqKwCTzqe/78E5mH+WCFUjXsZpSoQhVrye0 95NJkwagUCC/n/yIUxHW1iOBBMedeD0MG7fAiH4ha5xOEaxtSdLp9uNICQIixetgxgMUEA Rqv+siG0qZ0nZM3orDALxMa/7NZB8AREdr7S0q1URYFNXSHk2CoAzCCrbXOI2rreKdWa14 ZB2Fca3jgwwGHlGHqIeaFwwvxfASLU6swIgdU7E0/vEzx378Tl2/pLDpLTBJqUa3yiVlUX uXzoB0O4o87UlwFSW5SyKEPVRFGtrcdL8KPkRd4pHG+72Wh7Ij4986cuwAG9BQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=dd978721a223e3f9d35a7be5407c52a281fcec8f commit dd978721a223e3f9d35a7be5407c52a281fcec8f Author: Andrew Turner AuthorDate: 2021-11-23 17:26:35 +0000 Commit: Andrew Turner CommitDate: 2021-11-24 15:31:50 +0000 Remove redundant declarations These are already defined in the same file. Sponsored by: The FreeBSD Foundation --- 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 eaa7619e15c3..d01aa930906b 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),