[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1600773678-46320-1-git-send-email-liheng40@huawei.com>
Date: Tue, 22 Sep 2020 19:21:18 +0800
From: Li Heng <liheng40@...wei.com>
To: <agross@...nel.org>, <bjorn.andersson@...aro.org>,
<mturquette@...libre.com>, <sboyd@...nel.org>
CC: <linux-arm-msm@...r.kernel.org>, <linux-clk@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH -next] clk: qcom: Remove set but not used variable
This addresses the following gcc warning with "make W=1":
drivers/clk/qcom/gcc-sdm660.c:52:32:warning:
‘gcc_parent_map_xo_gpll0’ defined but not used [-Wunused-const-variable=]
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: Li Heng <liheng40@...wei.com>
---
drivers/clk/qcom/gcc-sdm660.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sdm660.c b/drivers/clk/qcom/gcc-sdm660.c
index f0b47b7..db0fb7e 100644
--- a/drivers/clk/qcom/gcc-sdm660.c
+++ b/drivers/clk/qcom/gcc-sdm660.c
@@ -49,11 +49,6 @@ static const char * const gcc_parent_names_xo_gpll0_gpll0_early_div[] = {
"gpll0_early_div",
};
-static const struct parent_map gcc_parent_map_xo_gpll0[] = {
- { P_XO, 0 },
- { P_GPLL0, 1 },
-};
-
static const char * const gcc_parent_names_xo_gpll0[] = {
"xo",
"gpll0",
--
2.7.4
Powered by blists - more mailing lists