Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: mmcc-msm8974: Remove unused static const tables 'mmcc_xo_mmpll0_1_2_gpll0{map}'

Fixes the following W=1 kernel build warning(s):

drivers/clk/qcom/mmcc-msm8974.c:85:27: warning: ‘mmcc_xo_mmpll0_1_2_gpll0’ defined but not used [-Wunused-const-variable=]
drivers/clk/qcom/mmcc-msm8974.c:77:32: warning: ‘mmcc_xo_mmpll0_1_2_gpll0_map’ defined but not used [-Wunused-const-variable=]

Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210126124540.3320214-17-lee.jones@linaro.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Lee Jones and committed by
Stephen Boyd
181ad1ad 6a589841

-16
-16
drivers/clk/qcom/mmcc-msm8974.c
··· 74 74 "dsi1pll", 75 75 }; 76 76 77 - static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = { 78 - { P_XO, 0 }, 79 - { P_MMPLL0, 1 }, 80 - { P_MMPLL1, 2 }, 81 - { P_GPLL0, 5 }, 82 - { P_MMPLL2, 3 } 83 - }; 84 - 85 - static const char * const mmcc_xo_mmpll0_1_2_gpll0[] = { 86 - "xo", 87 - "mmpll0_vote", 88 - "mmpll1_vote", 89 - "mmss_gpll0_vote", 90 - "mmpll2", 91 - }; 92 - 93 77 static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = { 94 78 { P_XO, 0 }, 95 79 { P_MMPLL0, 1 },