Re: [PATCH] nfc: st-nci: remove redundant assignment to variable r

From: David Miller
Date: Tue Jul 02 2019 - 15:02:37 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 2 Jul 2019 14:16:42 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable r 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 to net-next.