The branch main has been updated by andrew:

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

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

Reply via email to