projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84afc9e
)
clk: socfpga: agilex: Remove unused variable 'cntr_mux'
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 15 Sep 2020 02:09:50 +0000
(10:09 +0800)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 22 Sep 2020 19:46:12 +0000
(12:46 -0700)
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: YueHaibing <yuehaibing@huawei.com>
Link:
https://lore.kernel.org/r/20200915020950.4688-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/socfpga/clk-agilex.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/socfpga/clk-agilex.c
b/drivers/clk/socfpga/clk-agilex.c
index 8fb12cbe02086c8a465f4b5b7fbb7f3f7abb6be6..bb3e80928ebe84460ccf44b8ab12be13bb96a4bf 100644
(file)
--- a/
drivers/clk/socfpga/clk-agilex.c
+++ b/
drivers/clk/socfpga/clk-agilex.c
@@
-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", },