clk: qcom: gcc-msm8939: remove defined but not used variables
authorJason Yan <yanaijie@huawei.com>
Fri, 11 Sep 2020 01:37:22 +0000 (09:37 +0800)
committerStephen Boyd <sboyd@kernel.org>
Tue, 22 Sep 2020 18:50:23 +0000 (11:50 -0700)
commit34e4c3cac6ffe9d20ae321083b519128feadb771
tree14a1368602a4b4153a7b5117a98b345e9149cc48
parenta9e545ac63c25ab84e7a546008585685dbbf994f
clk: qcom: gcc-msm8939: remove defined but not used variables

This addresses the following gcc warning with "make W=1":

drivers/clk/qcom/gcc-msm8939.c:610:32: warning:
‘gcc_xo_gpll6_gpll0a_map’ defined but not used
[-Wunused-const-variable=]
 static const struct parent_map gcc_xo_gpll6_gpll0a_map[] = {
                                ^~~~~~~~~~~~~~~~~~~~~~~
drivers/clk/qcom/gcc-msm8939.c:598:32: warning: ‘gcc_xo_gpll6_gpll0_map’
defined but not used [-Wunused-const-variable=]
 static const struct parent_map gcc_xo_gpll6_gpll0_map[] = {
                                ^~~~~~~~~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200911013722.1459387-1-yanaijie@huawei.com
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8939.c