Re: [PATCH] net/packet: remove redundant initialization of variable err

From: David Miller
Date: Wed Jul 01 2020 - 15:45:19 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 1 Jul 2020 16:04:33 +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 to net-next, thanks.