arm: allwinner: clk: Plug set but not used variable

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2022-02-21 10:55:07 +01:00
parent cfd8b9545e
commit 4c5b550e63
3 changed files with 0 additions and 9 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);