summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2014-10-20 20:15:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-10-21 13:04:36 +0200
commite0fd4cb13adf623c601dec8fba10187cd42a067f (patch)
treeb28ddbc532c5768632c44dfb890f20860bfc839d
parent672a4972dddaa248611a358bce6118b60bce49e9 (diff)
downloadbarebox-e0fd4cb13adf623c601dec8fba10187cd42a067f.tar.gz
barebox-e0fd4cb13adf623c601dec8fba10187cd42a067f.tar.xz
arm: at91: remove unused variable
Signed-off-by: Lucas Stach <dev@lynxeye.de> Acked-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-at91/clock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 7a4282e61..a7051c38b 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -347,7 +347,6 @@ EXPORT_SYMBOL(clk_get_rate);
long clk_round_rate(struct clk *clk, unsigned long rate)
{
- unsigned long flags;
unsigned prescale;
unsigned long actual;
unsigned long prev = ULONG_MAX;
@@ -376,7 +375,6 @@ EXPORT_SYMBOL(clk_round_rate);
int clk_set_rate(struct clk *clk, unsigned long rate)
{
- unsigned long flags;
unsigned prescale;
unsigned long prescale_offset, css_mask;
unsigned long actual;
@@ -421,8 +419,6 @@ EXPORT_SYMBOL(clk_get_parent);
int clk_set_parent(struct clk *clk, struct clk *parent)
{
- unsigned long flags;
-
if (clk->users)
return -EBUSY;
if (!clk_is_primary(parent) || !clk_is_programmable(clk))