# Re: \[PATCH\] pwm: atmel: remove redundant initialization of variable timeout

- From: Thierry Reding \<hidden\>
- Date: 2022-02-24 12:54:49 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2022/02/1683172
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/12/1603286/t.md

```text
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 <redacted>
> ---
>  drivers/pwm/pwm-atmel.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thierry
```
