Nathan Huckleberry
da642427bd
clk: qcom: Fix -Wunused-const-variable
Clang produces the following warning
drivers/clk/qcom/gcc-msm8996.c:133:32: warning: unused variable
'gcc_xo_gpll0_gpll2_gpll3_gpll0_early_div_map' [-Wunused-const-variable]
static const struct
parent_map gcc_xo_gpll0_gpll2_gpll3_gpll0_early_div_map[] =
{ ^drivers/clk/qcom/gcc-msm8996.c:141:27: warning: unused variable
'gcc_xo_gpll0_gpll2_gpll3_gpll0_early_div' [-Wunused-const-variable] static
const char * const gcc_xo_gpll0_gpll2_gpll3_gpll0_early_div[] = { ^
drivers/clk/qcom/gcc-msm8996.c:187:32: warning: unused variable
'gcc_xo_gpll0_gpll2_gpll3_gpll1_gpll4_gpll0_early_div_map'
[-Wunused-const-variable] static const struct parent_map
gcc_xo_gpll0_gpll2_gpll3_gpll1_gpll4_gpll0_early_div_map[] = { ^
drivers/clk/qcom/gcc-msm8996.c:197:27: warning: unused variable
'gcc_xo_gpll0_gpll2_gpll3_gpll1_gpll4_gpll0_early_div'
[-Wunused-const-variable] static const char * const
gcc_xo_gpll0_gpll2_gpll3_gpll1_gpll4_gpll0_early_div[] = {
It looks like these were never used.
Fixes: b1e010c0730a ("clk: qcom: Add MSM8996 Global Clock Control (GCC) driver")
Cc: clang-built-linux@googlegroups.com
Link: https://github.com/ClangBuiltLinux/linux/issues/518
Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-06-25 15:49:38 -07:00
..
2018-01-02 10:00:24 -08:00
2018-12-05 09:22:33 -08:00
2018-08-30 18:27:06 -07:00
2018-10-16 15:09:20 -07:00
2018-07-25 09:23:33 -07:00
2019-04-11 13:34:21 -07:00
2019-04-11 13:34:21 -07:00
2018-10-17 13:14:37 -07:00
2018-10-17 13:14:37 -07:00
2018-10-17 13:15:05 -07:00
2018-10-17 13:15:05 -07:00
2016-11-01 18:39:17 -07:00
2015-07-07 17:19:58 -07:00
2019-02-21 14:18:12 -08:00
2016-02-29 12:57:06 -08:00
2019-02-21 14:18:12 -08:00
2018-03-12 15:10:27 -07:00
2017-12-21 16:03:19 -08:00
2018-01-02 10:00:24 -08:00
2019-05-01 13:01:13 -07:00
2017-12-21 16:03:22 -08:00
2017-12-21 16:03:22 -08:00
2018-07-25 09:23:33 -07:00
2018-07-25 09:23:33 -07:00
2018-03-19 14:40:26 -07:00
2019-02-21 13:57:55 -08:00
2019-01-09 11:46:42 -08:00
2018-06-06 11:15:43 -07:00
2019-02-22 00:06:57 -08:00
2019-02-22 00:06:57 -08:00
2018-08-01 08:08:12 -07:00
2018-07-06 16:45:51 -07:00
2018-10-17 13:14:47 -07:00
2018-07-06 16:45:51 -07:00
2019-02-22 00:06:57 -08:00
2019-02-22 00:06:57 -08:00
2018-06-19 10:02:28 -07:00
2018-11-30 01:00:04 -08:00
2018-10-17 13:14:45 -07:00
2018-07-06 16:45:51 -07:00
2018-07-06 16:45:51 -07:00
2019-06-25 15:49:38 -07:00
2019-04-11 13:37:42 -07:00
2019-04-11 13:32:20 -07:00
2019-02-22 00:06:57 -08:00
2019-03-08 10:29:30 -08:00
2018-11-27 16:54:04 -08:00
2018-06-04 12:34:51 -07:00
2018-11-28 13:24:45 -08:00
2018-10-17 13:14:40 -07:00
2019-04-11 13:35:48 -07:00
2018-10-17 13:14:54 -07:00
2018-10-17 13:15:05 -07:00
2016-11-01 17:44:09 -07:00
2016-08-15 15:51:21 -07:00
2016-02-12 14:24:24 -08:00
2018-12-03 09:38:05 -08:00
2019-04-11 13:35:48 -07:00
2018-07-06 16:45:51 -07:00
2016-03-04 12:53:53 -08:00
2018-07-06 16:45:51 -07:00
2019-02-22 00:06:57 -08:00
2016-03-29 16:30:26 -07:00
2016-03-29 16:30:26 -07:00
2019-04-11 13:35:48 -07:00
2018-07-06 16:45:51 -07:00