Re: [PATCH][next][V2] bpf: remove redundant assignment to err
From: Daniel Borkmann
Date: Tue Jun 04 2019 - 11:08:43 EST
On 06/04/2019 10:21 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is assigned with the value -EINVAL 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, thanks!