Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: gcc-sa8775p: remove unused variables

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>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230123103338.230320-1-brgl@bgdev.pl

authored by

Bartosz Golaszewski and committed by
Bjorn Andersson
e710abbb 8bb18e6e

-20
-20
drivers/clk/qcom/gcc-sa8775p.c
··· 310 310 { .index = DT_BI_TCXO }, 311 311 }; 312 312 313 - static const struct parent_map gcc_parent_map_10[] = { 314 - { P_PCIE_0_PIPE_CLK, 0 }, 315 - { P_BI_TCXO, 2 }, 316 - }; 317 - 318 - static const struct clk_parent_data gcc_parent_data_10[] = { 319 - { .index = DT_PCIE_0_PIPE_CLK }, 320 - { .index = DT_BI_TCXO }, 321 - }; 322 - 323 313 static const struct parent_map gcc_parent_map_11[] = { 324 314 { P_PCIE_PHY_AUX_CLK, 1 }, 325 315 { P_BI_TCXO, 2 }, ··· 317 327 318 328 static const struct clk_parent_data gcc_parent_data_11[] = { 319 329 { .index = DT_PCIE_PHY_AUX_CLK }, 320 - { .index = DT_BI_TCXO }, 321 - }; 322 - 323 - static const struct parent_map gcc_parent_map_12[] = { 324 - { P_PCIE_1_PIPE_CLK, 0 }, 325 - { P_BI_TCXO, 2 }, 326 - }; 327 - 328 - static const struct clk_parent_data gcc_parent_data_12[] = { 329 - { .index = DT_PCIE_1_PIPE_CLK }, 330 330 { .index = DT_BI_TCXO }, 331 331 }; 332 332