linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: gcc-sa8775p: remove unused variables
@ 2023-01-23 10:33 Bartosz Golaszewski
  2023-01-25 23:06 ` Stephen Boyd
  2023-02-09  4:22 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-01-23 10:33 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Michael Turquette,
	Stephen Boyd, Srinivas Kandagatla, Vinod Koul, Alex Elder,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-clk, linux-kernel, Bartosz Golaszewski,
	kernel test robot

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

There are four struct definitions in the driver that aren't used so
remove them.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: ed432b1ed00a ("clk: qcom: add the GCC driver for sa8775p")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 drivers/clk/qcom/gcc-sa8775p.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/drivers/clk/qcom/gcc-sa8775p.c b/drivers/clk/qcom/gcc-sa8775p.c
index b5da7e0b2eaf..d6e78de2c66f 100644
--- a/drivers/clk/qcom/gcc-sa8775p.c
+++ b/drivers/clk/qcom/gcc-sa8775p.c
@@ -310,16 +310,6 @@ static const struct clk_parent_data gcc_parent_data_9[] = {
 	{ .index = DT_BI_TCXO },
 };
 
-static const struct parent_map gcc_parent_map_10[] = {
-	{ P_PCIE_0_PIPE_CLK, 0 },
-	{ P_BI_TCXO, 2 },
-};
-
-static const struct clk_parent_data gcc_parent_data_10[] = {
-	{ .index = DT_PCIE_0_PIPE_CLK },
-	{ .index = DT_BI_TCXO },
-};
-
 static const struct parent_map gcc_parent_map_11[] = {
 	{ P_PCIE_PHY_AUX_CLK, 1 },
 	{ P_BI_TCXO, 2 },
@@ -330,16 +320,6 @@ static const struct clk_parent_data gcc_parent_data_11[] = {
 	{ .index = DT_BI_TCXO },
 };
 
-static const struct parent_map gcc_parent_map_12[] = {
-	{ P_PCIE_1_PIPE_CLK, 0 },
-	{ P_BI_TCXO, 2 },
-};
-
-static const struct clk_parent_data gcc_parent_data_12[] = {
-	{ .index = DT_PCIE_1_PIPE_CLK },
-	{ .index = DT_BI_TCXO },
-};
-
 static const struct parent_map gcc_parent_map_13[] = {
 	{ P_BI_TCXO, 0 },
 	{ P_GCC_GPLL0_OUT_MAIN, 1 },
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: gcc-sa8775p: remove unused variables
  2023-01-23 10:33 [PATCH] clk: qcom: gcc-sa8775p: remove unused variables Bartosz Golaszewski
@ 2023-01-25 23:06 ` Stephen Boyd
  2023-02-09  4:22 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2023-01-25 23:06 UTC (permalink / raw)
  To: Alex Elder, Andy Gross, Bartosz Golaszewski, Bjorn Andersson,
	Konrad Dybcio, Krzysztof Kozlowski, Michael Turquette,
	Srinivas Kandagatla, Vinod Koul
  Cc: linux-arm-msm, linux-clk, linux-kernel, Bartosz Golaszewski,
	kernel test robot

Quoting Bartosz Golaszewski (2023-01-23 02:33:38)
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> There are four struct definitions in the driver that aren't used so
> remove them.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: ed432b1ed00a ("clk: qcom: add the GCC driver for sa8775p")
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: gcc-sa8775p: remove unused variables
  2023-01-23 10:33 [PATCH] clk: qcom: gcc-sa8775p: remove unused variables Bartosz Golaszewski
  2023-01-25 23:06 ` Stephen Boyd
@ 2023-02-09  4:22 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-02-09  4:22 UTC (permalink / raw)
  To: Bartosz Golaszewski, Andy Gross, Alex Elder, Konrad Dybcio,
	Krzysztof Kozlowski, Srinivas Kandagatla, Vinod Koul,
	Michael Turquette, Stephen Boyd
  Cc: Bartosz Golaszewski, kernel test robot, linux-clk, linux-kernel,
	linux-arm-msm

On Mon, 23 Jan 2023 11:33:38 +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> There are four struct definitions in the driver that aren't used so
> remove them.
> 
> 

Applied, thanks!

[1/1] clk: qcom: gcc-sa8775p: remove unused variables
      commit: e710abbb1740e60c9f09907cd97e1270055ecdb2

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-09  4:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-23 10:33 [PATCH] clk: qcom: gcc-sa8775p: remove unused variables Bartosz Golaszewski
2023-01-25 23:06 ` Stephen Boyd
2023-02-09  4:22 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).