diff mbox series

clk: qcom: Remove unused arrays in SDM845 GCC

Message ID 20181018220350.220357-1-evgreen@chromium.org (mailing list archive)
State Not Applicable, archived
Headers show
Series clk: qcom: Remove unused arrays in SDM845 GCC | expand

Commit Message

Evan Green Oct. 18, 2018, 10:03 p.m. UTC
This change removes a parent map and parent name array that
appear to be completely unreferenced.

Signed-off-by: Evan Green <evgreen@chromium.org>
---
 drivers/clk/qcom/gcc-sdm845.c | 16 ----------------
 1 file changed, 16 deletions(-)

Comments

Stephen Boyd Oct. 18, 2018, 10:29 p.m. UTC | #1
Quoting Evan Green (2018-10-18 15:03:50)
> This change removes a parent map and parent name array that
> appear to be completely unreferenced.
> 
> Signed-off-by: Evan Green <evgreen@chromium.org>
> ---

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"?
Evan Green Oct. 18, 2018, 10:41 p.m. UTC | #2
On Thu, Oct 18, 2018 at 3:29 PM Stephen Boyd <sboyd@kernel.org> wrote:
>
> Quoting Evan Green (2018-10-18 15:03:50)
> > This change removes a parent map and parent name array that
> > appear to be completely unreferenced.
> >
> > Signed-off-by: Evan Green <evgreen@chromium.org>
> > ---
>
> 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.
diff mbox series

Patch

diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c
index fa1a196350f1..a7e72ebb79ba 100644
--- a/drivers/clk/qcom/gcc-sdm845.c
+++ b/drivers/clk/qcom/gcc-sdm845.c
@@ -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 },