Re: [PATCH] net: dev_ioctl: remove redundant initialization of variable err
From: Jakub Kicinski
Date: Tue Nov 03 2020 - 20:50:20 EST
On Mon, 2 Nov 2020 12:16:15 +0000 Colin King wrote:
> 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.