clk: qcom: Remove the unused variables
Subsystems (3)
PATCH 1/1 clk: qcom: Remove the unused variables
Variable gpucc_parent_map_2 and gpucc_parent_data_2 is not effectively used, so delete it.
drivers/clk/qcom/gpucc-sm6375.c:145:37: warning: unused variable 'gpucc_parent_data_2'. drivers/clk/qcom/gpucc-sm6375.c:139:32: warning: unused variable 'gpucc_parent_map_2'.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/clk/qcom/gpucc-sm6375.c | 12 ------------ 1 file changed, 12 deletions(-)
drivers/clk/qcom/gpucc-sm6375.c +0 -12
@@ -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 ), { }
Signature · 1 line
2.20.1.7.g153144c
Quoted 10 lines · Jiapeng Chong
Variable
gpucc_parent_map_2andgpucc_parent_data_2is not effectively used, so delete it.
drivers/clk/qcom/gpucc-sm6375.c:145:37: warning: unused variable 'gpucc_parent_data_2'.drivers/clk/qcom/gpucc-sm6375.c:139:32: warning: unused variable 'gpucc_parent_map_2'.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>---
This is fixed already
Konrad
Quoted 26 lines
drivers/clk/qcom/gpucc-sm6375.c | 12 ------------ 1 file changed, 12 deletions(-)drivers/clk/qcom/gpucc-sm6375.c +0
-12@@ -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 ), { }