aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-03-15 11:56:30 -0400
committerBjorn Andersson <[email protected]>2023-03-15 15:37:27 -0700
commit54ed70b57623e18f6c18f510cbe1e741bca89f34 (patch)
treec1d99192bb74cacfaf07af7c281e886669ce6fd1
parent1bf088a9f0e50acd175ba8deef0db11c099fa26e (diff)
clk: qcom: remove unused variables gpucc_parent_data,map_2
gcc with W=1 reports these errors drivers/clk/qcom/gpucc-sm6375.c:145:37: error: ‘gpucc_parent_data_2’ defined but not used [-Werror=unused-const-variable=] 145 | static const struct clk_parent_data gpucc_parent_data_2[] = { | ^~~~~~~~~~~~~~~~~~~ drivers/clk/qcom/gpucc-sm6375.c:139:32: error: ‘gpucc_parent_map_2’ defined but not used [-Werror=unused-const-variable=] 139 | static const struct parent_map gpucc_parent_map_2[] = { | ^~~~~~~~~~~~~~~~~~ These variables are not used, so remove them. Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/clk/qcom/gpucc-sm6375.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/clk/qcom/gpucc-sm6375.c b/drivers/clk/qcom/gpucc-sm6375.c
index eb9ffa956950..d8f4c4b59f1b 100644
--- a/drivers/clk/qcom/gpucc-sm6375.c
+++ b/drivers/clk/qcom/gpucc-sm6375.c
@@ -136,18 +136,6 @@ static const struct clk_parent_data gpucc_parent_data_1[] = {
{ .index = DT_GCC_GPU_GPLL0_CLK_SRC },
};
-static const struct parent_map gpucc_parent_map_2[] = {
- { P_BI_TCXO, 0 },
- { P_GCC_GPU_GPLL0_CLK_SRC, 5 },
- { P_GCC_GPU_GPLL0_DIV_CLK_SRC, 6 },
-};
-
-static const struct clk_parent_data gpucc_parent_data_2[] = {
- { .index = P_BI_TCXO },
- { .index = DT_GCC_GPU_GPLL0_CLK_SRC },
- { .index = DT_GCC_GPU_GPLL0_DIV_CLK_SRC },
-};
-
static const struct freq_tbl ftbl_gpucc_gmu_clk_src[] = {
F(200000000, P_GCC_GPU_GPLL0_DIV_CLK_SRC, 1.5, 0, 0),
{ }