Re: [PATCH] input: alps: remove redundant assignment to variable ret
From: Dmitry Torokhov
Date: Thu Aug 06 2020 - 18:35:31 EST
On Wed, Jun 03, 2020 at 02:57:42PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable ret is being initialized with a value that is
> never read and it is being updated later with a new value. The
> initialization is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied, thank you.
--
Dmitry