Skip to content

Commit c5bd76d

Browse files
JasonYanHwbebarino
authored andcommitted
clk: ti: dra7: remove two unused symbols
Fix the following gcc warning: drivers/clk/ti/clk-7xx.c:320:43: warning: ‘dra7_gpu_sys_clk_data’ defined but not used [-Wunused-const-variable=] static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = { ^~~~~~~~~~~~~~~~~~~~~ drivers/clk/ti/clk-7xx.c:315:27: warning: ‘dra7_gpu_sys_clk_parents’ defined but not used [-Wunused-const-variable=] static const char * const dra7_gpu_sys_clk_parents[] __initconst = { ^~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Hulk Robot <[email protected]> Signed-off-by: Jason Yan <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 4f74251 commit c5bd76d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/clk/ti/clk-7xx.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,15 +312,6 @@ static const char * const dra7_gpu_hyd_mux_parents[] __initconst = {
312312
NULL,
313313
};
314314

315-
static const char * const dra7_gpu_sys_clk_parents[] __initconst = {
316-
"sys_clkin",
317-
NULL,
318-
};
319-
320-
static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = {
321-
.max_div = 2,
322-
};
323-
324315
static const struct omap_clkctrl_bit_data dra7_gpu_core_bit_data[] __initconst = {
325316
{ 24, TI_CLK_MUX, dra7_gpu_core_mux_parents, NULL, },
326317
{ 26, TI_CLK_MUX, dra7_gpu_hyd_mux_parents, NULL, },

0 commit comments

Comments
 (0)