Re: [PATCH] qlcnic: remove redundant assignment to variable err

From: David Miller
Date: Wed Jul 03 2019 - 14:35:56 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 3 Jul 2019 09:32:14 +0100

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