Re: [PATCH] xen-netback: remove redundant assignment to err

From: David Miller
Date: Fri May 31 2019 - 17:40:57 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 30 May 2019 20:04:38 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is assigned with the value -ENOMEM that is never
> read and it is re-assigned a new value later on. The assignment is
> redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to net-next.