[PATCH] clk: at91: remove redundant assignment

Colin King colin.king at canonical.com
Thu Feb 6 13:53:10 EST 2014


From: Colin Ian King <colin.king at canonical.com>

remove the redundant shift = shift assignment, it is extraneous.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 drivers/clk/at91/clk-programmable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/at91/clk-programmable.c b/drivers/clk/at91/clk-programmable.c
index fd792b2..ff86efe 100644
--- a/drivers/clk/at91/clk-programmable.c
+++ b/drivers/clk/at91/clk-programmable.c
@@ -109,7 +109,7 @@ static long clk_programmable_round_rate(struct clk_hw *hw, unsigned long rate,
 	unsigned long best_diff;
 	unsigned long new_diff;
 	unsigned long cur_rate;
-	int shift = shift;
+	int shift;
 
 	if (rate > *parent_rate)
 		return *parent_rate;
-- 
1.9.rc1




More information about the linux-arm-kernel mailing list