diff mbox series

clk: socfpga: agilex: remove unused s2f_usr0_clk define

Message ID 20210914143201.1062947-1-dinguyen@kernel.org (mailing list archive)
State Accepted, archived
Headers show
Series clk: socfpga: agilex: remove unused s2f_usr0_clk define | expand

Commit Message

Dinh Nguyen Sept. 14, 2021, 2:32 p.m. UTC
Remove unused s2f_usr0_clk define.

Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the
Agilex platform")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
---
 drivers/clk/socfpga/clk-agilex.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Stephen Boyd Sept. 14, 2021, 10:52 p.m. UTC | #1
Quoting Dinh Nguyen (2021-09-14 07:32:01)
> Remove unused s2f_usr0_clk define.
> 
> Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the
> Agilex platform")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
> ---

Applied to clk-next
Stephen Boyd Sept. 15, 2021, 1:30 a.m. UTC | #2
Quoting Dinh Nguyen (2021-09-14 07:32:01)
> Remove unused s2f_usr0_clk define.
> 
> Fixes: 80c6b7a0894f ("clk: socfpga: agilex: add clock driver for the
> Agilex platform")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

And dropped now. It is still used?

> ---
>  drivers/clk/socfpga/clk-agilex.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/drivers/clk/socfpga/clk-agilex.c b/drivers/clk/socfpga/clk-agilex.c
> index b4d300fbbc66..bf8cd928c228 100644
> --- a/drivers/clk/socfpga/clk-agilex.c
> +++ b/drivers/clk/socfpga/clk-agilex.c
> @@ -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.

> -       { .fw_name = "f2s-free-clk",
diff mbox series

Patch

diff --git a/drivers/clk/socfpga/clk-agilex.c b/drivers/clk/socfpga/clk-agilex.c
index b4d300fbbc66..bf8cd928c228 100644
--- a/drivers/clk/socfpga/clk-agilex.c
+++ b/drivers/clk/socfpga/clk-agilex.c
@@ -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", },