]> git.baikalelectronics.ru Git - kernel.git/commitdiff
clk: ti: dra7: remove two unused symbols
authorJason Yan <yanaijie@huawei.com>
Fri, 17 Apr 2020 07:35:23 +0000 (15:35 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 27 May 2020 03:24:21 +0000 (20:24 -0700)
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 <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lkml.kernel.org/r/20200417073523.42520-1-yanaijie@huawei.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk-7xx.c

index bf8fced40e426851c133ffc6c49c4752623f2fb8..b4cf578a69e1101c4d74c38ee65b97b66dec2225 100644 (file)
@@ -312,15 +312,6 @@ static const char * const dra7_gpu_hyd_mux_parents[] __initconst = {
        NULL,
 };
 
-static const char * const dra7_gpu_sys_clk_parents[] __initconst = {
-       "sys_clkin",
-       NULL,
-};
-
-static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = {
-       .max_div = 2,
-};
-
 static const struct omap_clkctrl_bit_data dra7_gpu_core_bit_data[] __initconst = {
        { 24, TI_CLK_MUX, dra7_gpu_core_mux_parents, NULL, },
        { 26, TI_CLK_MUX, dra7_gpu_hyd_mux_parents, NULL, },