git: e50a0a8c44fa - stable/13 - Remove redundant declarations

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Tue, 14 Dec 2021 11:07:30 UTC
The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=e50a0a8c44faf8cd155195848dfeab6b390b34ec

commit e50a0a8c44faf8cd155195848dfeab6b390b34ec
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-11-23 17:26:35 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
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),