From dd978721a223e3f9d35a7be5407c52a281fcec8f Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 23 Nov 2021 17:26:35 +0000 Subject: [PATCH] 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),