[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YheADZELg0XyEk9j@orome>
Date: Thu, 24 Feb 2022 13:54:37 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Colin Ian King <colin.i.king@...il.com>
Cc: Claudiu Beznea <claudiu.beznea@...rochip.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Lee Jones <lee.jones@...aro.org>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Ludovic Desroches <ludovic.desroches@...rochip.com>,
linux-arm-kernel@...ts.infradead.org, linux-pwm@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: atmel: remove redundant initialization of variable
timeout
On Fri, Dec 10, 2021 at 12:22:50AM +0000, Colin Ian King wrote:
> The variable timeout is being initialized with a value that is never
> read, it is being re-assigned the same value later on. Remove the
> redundant initialization and keep the latter assignment because it's
> closer to the use of the variable.
>
> Signed-off-by: Colin Ian King <colin.i.king@...il.com>
> ---
> drivers/pwm/pwm-atmel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists