From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: at91: remove redundant assignment
Date: Fri, 7 Feb 2014 11:02:39 +0100 [thread overview]
Message-ID: <52F4AF3F.7040809@atmel.com> (raw)
In-Reply-To: <1391712790-13591-1-git-send-email-colin.king@canonical.com>
On 06/02/2014 19:53, Colin King :
> From: Colin Ian King <colin.king@canonical.com>
>
> remove the redundant shift = shift assignment, it is extraneous.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Thanks.
Boris, can you integrate this patch to the "fixes" series that will be
sent to Mike during the 3.14 development cycle?
Bye,
> ---
> 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;
>
--
Nicolas Ferre
next prev parent reply other threads:[~2014-02-07 10:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 18:53 [PATCH] clk: at91: remove redundant assignment Colin King
2014-02-07 10:02 ` Nicolas Ferre [this message]
2014-02-07 10:39 ` Boris BREZILLON
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=52F4AF3F.7040809@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.