mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
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 <trix@redhat.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230315155630.1740065-1-trix@redhat.com
This commit is contained in:
parent
1bf088a9f0
commit
54ed70b576
@ -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),
|
||||
{ }
|
||||
|
Loading…
Reference in New Issue
Block a user