[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1419370391-15027-1-git-send-email-festevam@gmail.com>
Date: Tue, 23 Dec 2014 19:33:11 -0200
From: Fabio Estevam <festevam@...il.com>
To: daniel.lezcano@...aro.org
Cc: baohua@...nel.org, linux-kernel@...r.kernel.org,
Fabio Estevam <festevam@...il.com>
Subject: [PATCH] clocksource: sirf: Remove unused variable
Remove 'timer_div' variable to fix the following build warning:
drivers/clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init':
drivers/clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div' [-Wunused-variable]
Signed-off-by: Fabio Estevam <festevam@...il.com>
---
drivers/clocksource/timer-marco.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clocksource/timer-marco.c b/drivers/clocksource/timer-marco.c
index 361a789..3ddb81f 100644
--- a/drivers/clocksource/timer-marco.c
+++ b/drivers/clocksource/timer-marco.c
@@ -257,7 +257,6 @@ static void __init sirfsoc_clockevent_init(void)
/* initialize the kernel jiffy timer source */
static void __init sirfsoc_marco_timer_init(struct device_node *np)
{
- u32 timer_div;
struct clk *clk;
clk = of_clk_get(np, 0);
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists