Commit b10f2249 authored by YueHaibing's avatar YueHaibing Committed by Stephen Boyd
Browse files

clk: socfpga: agilex: Remove unused variable 'cntr_mux'



drivers/clk/socfpga/clk-agilex.c:24:37: warning: ‘cntr_mux’ defined but not used [-Wunused-const-variable=]
 static const struct clk_parent_data cntr_mux[] = {
                                     ^~~~~~~~

There is no caller in tree, so can remove it.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200915020950.4688-1-yuehaibing@huawei.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 84afc9ec
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -21,19 +21,6 @@ static const struct clk_parent_data pll_mux[] = {
	  .name = "f2s-free-clk", },
};

static const struct clk_parent_data cntr_mux[] = {
	{ .fw_name = "main_pll",
	  .name = "main_pll", },
	{ .fw_name = "periph_pll",
	  .name = "periph_pll", },
	{ .fw_name = "osc1",
	  .name = "osc1", },
	{ .fw_name = "cb-intosc-hs-div2-clk",
	  .name = "cb-intosc-hs-div2-clk", },
	{ .fw_name = "f2s-free-clk",
	  .name = "f2s-free-clk", },
};

static const struct clk_parent_data boot_mux[] = {
	{ .fw_name = "osc1",
	  .name = "osc1", },