Skip to content

Commit e710abb

Browse files
Bartosz Golaszewskiandersson
authored andcommitted
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 <[email protected]> Fixes: ed432b1ed00a ("clk: qcom: add the GCC driver for sa8775p") Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8bb18e6 commit e710abb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

drivers/clk/qcom/gcc-sa8775p.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -310,16 +310,6 @@ static const struct clk_parent_data gcc_parent_data_9[] = {
310310
{ .index = DT_BI_TCXO },
311311
};
312312

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-
323313
static const struct parent_map gcc_parent_map_11[] = {
324314
{ P_PCIE_PHY_AUX_CLK, 1 },
325315
{ P_BI_TCXO, 2 },
@@ -330,16 +320,6 @@ static const struct clk_parent_data gcc_parent_data_11[] = {
330320
{ .index = DT_BI_TCXO },
331321
};
332322

333-
static const struct parent_map gcc_parent_map_12[] = {
334-
{ P_PCIE_1_PIPE_CLK, 0 },
335-
{ P_BI_TCXO, 2 },
336-
};
337-
338-
static const struct clk_parent_data gcc_parent_data_12[] = {
339-
{ .index = DT_PCIE_1_PIPE_CLK },
340-
{ .index = DT_BI_TCXO },
341-
};
342-
343323
static const struct parent_map gcc_parent_map_13[] = {
344324
{ P_BI_TCXO, 0 },
345325
{ P_GCC_GPLL0_OUT_MAIN, 1 },

0 commit comments

Comments
 (0)