aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-11-23 17:26:35 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-11-24 15:31:50 +0000
commitdd978721a223e3f9d35a7be5407c52a281fcec8f (patch)
tree9e441ec57c3a9d46c22ce45c77f3d2115586c570
parent169e06fa7852810f4ced2cce7a3c14ca9443bf39 (diff)
downloadsrc-dd978721a223e3f9d35a7be5407c52a281fcec8f.tar.gz
src-dd978721a223e3f9d35a7be5407c52a281fcec8f.zip
Remove redundant declarations
These are already defined in the same file. Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_fract.c3
-rw-r--r--sys/arm64/rockchip/rk_pcie_phy.c1
2 files changed, 0 insertions, 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
@@ -180,9 +180,6 @@ rk_clk_fract_set_gate(struct clknode *clk, bool enable)
}
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)
{
struct rk_clk_fract_sc *sc;
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),