Skip to contentSkip to conversation

clk: qcom: Remove unused arrays in SDM845 GCC

PATCH Applied Evan Green 2 participants 3 messages Oct 18, 2018

Subsystems (3)
lore
Share & tools
lore

Evan Green

author
#0 lore raw

PATCH 1/1 clk: qcom: Remove unused arrays in SDM845 GCC

This change removes a parent map and parent name array that appear to be completely unreferenced.

---
 drivers/clk/qcom/gcc-sdm845.c | 16 ----------------
 1 file changed, 16 deletions(-)
drivers/clk/qcom/gcc-sdm845.c +0 -16
index fa1a196350f1..a7e72ebb79ba 100644
@@ -99,22 +99,6 @@ static const char * const gcc_parent_names_4[] = {
 	"core_bi_pll_test_se",
 };
 
-static const struct parent_map gcc_parent_map_5[] = {
-	{ P_BI_TCXO, 0 },
-	{ P_GPLL0_OUT_MAIN, 1 },
-	{ P_GPLL4_OUT_MAIN, 5 },
-	{ P_GPLL0_OUT_EVEN, 6 },
-	{ P_CORE_BI_PLL_TEST_SE, 7 },
-};
-
-static const char * const gcc_parent_names_5[] = {
-	"bi_tcxo",
-	"gpll0",
-	"gpll4",
-	"gpll0_out_even",
-	"core_bi_pll_test_se",
-};
-
 static const struct parent_map gcc_parent_map_6[] = {
 	{ P_BI_TCXO, 0 },
 	{ P_GPLL0_OUT_MAIN, 1 },
Signature · 1 line
2.16.4
maintainer Applied
#1 lore raw

Quoting Evan Green (2018-10-18 15:03:50)

Quoted 5 lines

This change removes a parent map and parent name array that appear to be completely unreferenced.

---

Applied to clk-next. Can you change your commit text style going forward to match Documentation/process/submitting-patches.rst, section 2, for an "imperative mood"?

author
#2 lore raw
Quoted 5 lines · Stephen Boyd

Quoting Evan Green (2018-10-18 15:03:50)

Quoted 3 lines

This change removes a parent map and parent name array that appear to be completely unreferenced.

Quoted 7 lines
Quoted 2 lines

---

Applied to clk-next. Can you change your commit text style going forward to match Documentation/process/submitting-patches.rst, section 2, for an "imperative mood"?

Thanks. Will do.