Skip to content

Commit 62a7c1c

Browse files
Lee JonesShawn Guo
authored andcommitted
clk: imx: clk-imx31: Remove unused static const table 'uart_clks'
Fixes the following W=1 kernel build warning(s): drivers/clk/imx/clk-imx31.c:54:28: warning: ‘uart_clks’ defined but not used [-Wunused-const-variable=] Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Pengutronix Kernel Team <kernel@pengutronix.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP Linux Team <linux-imx@nxp.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent f3afd3f commit 62a7c1c

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

drivers/clk/imx/clk-imx31.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ enum mx31_clks {
5151
static struct clk *clk[clk_max];
5252
static struct clk_onecell_data clk_data;
5353

54-
static struct clk ** const uart_clks[] __initconst = {
55-
&clk[ipg],
56-
&clk[uart1_gate],
57-
&clk[uart2_gate],
58-
&clk[uart3_gate],
59-
&clk[uart4_gate],
60-
&clk[uart5_gate],
61-
NULL
62-
};
63-
6454
static void __init _mx31_clocks_init(void __iomem *base, unsigned long fref)
6555
{
6656
clk[dummy] = imx_clk_fixed("dummy", 0);

0 commit comments

Comments
 (0)