Skip to contentSkip to conversation

clk: socfpga: agilex: remove unused s2f_usr0_clk define

PATCH Applied Dinh Nguyen 2 participants 3 messages Sep 14, 2021 – Sep 15, 2021

Subsystems (2)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/1 clk: socfpga: agilex: remove unused s2f_usr0_clk define

Remove unused s2f_usr0_clk define.

Fixes 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the

Agilex platform")

---
 drivers/clk/socfpga/clk-agilex.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/clk/socfpga/clk-agilex.c +0 -7
index b4d300fbbc66..bf8cd928c228 100644
@@ -165,13 +165,6 @@ static const struct clk_parent_data mpu_mux[] = {
 	  .name = "boot_clk", },
 };
 
-static const struct clk_parent_data s2f_usr0_mux[] = {
-	{ .fw_name = "f2s-free-clk",
-	  .name = "f2s-free-clk", },
-	{ .fw_name = "boot_clk",
-	  .name = "boot_clk", },
-};
-
 static const struct clk_parent_data emac_mux[] = {
 	{ .fw_name = "emaca_free_clk",
 	  .name = "emaca_free_clk", },
Signature · 1 line
2.25.1
maintainer
#2 lore raw
In reply to Dinh Nguyen

Quoting Dinh Nguyen (2021-09-14 07:32:01)

Quoted 6 lines

Remove unused s2f_usr0_clk define.

Fixes 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the

Agilex platform")

And dropped now. It is still used?

drivers/clk/socfpga/clk-agilex.c static const struct clk_parent_data mpu_mux[] = { · line 168

Quoted 13 lines
---
 drivers/clk/socfpga/clk-agilex.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/clk/socfpga/clk-agilex.c +0 -1
index b4d300fbbc66..bf8cd928c228 100644
@@ -165,13 +165,6 @@ static const struct clk_parent_data mpu_mux[] = {
          .name = "boot_clk", },
 };
 
-static const struct clk_parent_data s2f_usr0_mux[] = {

This is s2f_usr0_mux, not s2f_usr0_clk.

Quoted 1 line
drivers/clk/socfpga/clk-agilex.c +0 -1
-       { .fw_name = "f2s-free-clk",