Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2022 13:21:26 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 808ec6897fcd - stable/13 - arm: allwinner: clk: Plug set but not used variable
Message-ID:  <202205161321.24GDLQ7c043155@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

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

commit 808ec6897fcda85651b85a1ace53e8e990136bb0
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-02-21 09:55:07 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-16 13:15:44 +0000

    arm: allwinner: clk: Plug set but not used variable
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    
    (cherry picked from commit 4c5b550e632ff7de5f1365d369ad25e7033d9b9c)
---
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205161321.24GDLQ7c043155>