From: Fabio Estevam <festevam@gmail.com>
To: shawnguo@kernel.org
Cc: sboyd@kernel.org, linux-imx@nxp.com, linux-clk@vger.kernel.org,
Fabio Estevam <festevam@gmail.com>,
kernel test robot <lkp@intel.com>
Subject: [PATCH] clk: imx: imx31: Remove the unused uart_clks[]
Date: Thu, 28 Jan 2021 00:12:48 -0300 [thread overview]
Message-ID: <20210128031248.27244-1-festevam@gmail.com> (raw)
Since commit 30c1951790df ("clk: imx: imx31: Remove mx31_clocks_init()")
uart_clks[] is no longer used, so remove it to avoid the following
build warning:
drivers/clk/imx/clk-imx31.c:54:28: warning: unused variable 'uart_clks' [-Wunused-const-variable]
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/clk/imx/clk-imx31.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c
index 7b13fb57d842..c44e18c6f63f 100644
--- a/drivers/clk/imx/clk-imx31.c
+++ b/drivers/clk/imx/clk-imx31.c
@@ -51,16 +51,6 @@ enum mx31_clks {
static struct clk *clk[clk_max];
static struct clk_onecell_data clk_data;
-static struct clk ** const uart_clks[] __initconst = {
- &clk[ipg],
- &clk[uart1_gate],
- &clk[uart2_gate],
- &clk[uart3_gate],
- &clk[uart4_gate],
- &clk[uart5_gate],
- NULL
-};
-
static void __init _mx31_clocks_init(void __iomem *base, unsigned long fref)
{
clk[dummy] = imx_clk_fixed("dummy", 0);
--
2.25.1
next reply other threads:[~2021-01-28 3:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-28 3:12 Fabio Estevam [this message]
2021-01-30 14:08 ` [PATCH] clk: imx: imx31: Remove the unused uart_clks[] Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210128031248.27244-1-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=lkp@intel.com \
--cc=sboyd@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox