git: 4c5b550e632f - main - arm: allwinner: clk: Plug set but not used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 10:12:06 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=4c5b550e632ff7de5f1365d369ad25e7033d9b9c commit 4c5b550e632ff7de5f1365d369ad25e7033d9b9c Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-02-21 09:55:07 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-02-21 10:08:10 +0000 arm: allwinner: clk: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/arm/allwinner/clkng/aw_clk_mipi.c | 3 --- sys/arm/allwinner/clkng/aw_clk_nmm.c | 3 --- sys/arm/allwinner/clkng/aw_clk_np.c | 3 --- 3 files changed, 9 deletions(-) diff --git a/sys/arm/allwinner/clkng/aw_clk_mipi.c b/sys/arm/allwinner/clkng/aw_clk_mipi.c index a0a64cb4330b..350d0355f4eb 100644 --- a/sys/arm/allwinner/clkng/aw_clk_mipi.c +++ b/sys/arm/allwinner/clkng/aw_clk_mipi.c @@ -83,9 +83,6 @@ struct aw_clk_mipi_sc { static int aw_clk_mipi_init(struct clknode *clk, device_t dev) { - struct aw_clk_mipi_sc *sc; - - sc = clknode_get_softc(clk); clknode_init_parent_idx(clk, 0); return (0); diff --git a/sys/arm/allwinner/clkng/aw_clk_nmm.c b/sys/arm/allwinner/clkng/aw_clk_nmm.c index ef9eb02f7316..e12e83e4fae5 100644 --- a/sys/arm/allwinner/clkng/aw_clk_nmm.c +++ b/sys/arm/allwinner/clkng/aw_clk_nmm.c @@ -74,9 +74,6 @@ struct aw_clk_nmm_sc { static int aw_clk_nmm_init(struct clknode *clk, device_t dev) { - struct aw_clk_nmm_sc *sc; - - sc = clknode_get_softc(clk); clknode_init_parent_idx(clk, 0); return (0); diff --git a/sys/arm/allwinner/clkng/aw_clk_np.c b/sys/arm/allwinner/clkng/aw_clk_np.c index 6403b52a9abe..566f9c1d6f91 100644 --- a/sys/arm/allwinner/clkng/aw_clk_np.c +++ b/sys/arm/allwinner/clkng/aw_clk_np.c @@ -73,9 +73,6 @@ struct aw_clk_np_sc { static int aw_clk_np_init(struct clknode *clk, device_t dev) { - struct aw_clk_np_sc *sc; - - sc = clknode_get_softc(clk); clknode_init_parent_idx(clk, 0); return (0);