Re: [PATCH][bpf-next] bpf: remove redundant variable old_flags

From: Daniel Borkmann
Date: Wed Oct 11 2017 - 18:20:10 EST


On 10/11/2017 12:56 PM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Variable old_flags is being assigned but is never read; it is redundant
and can be removed.

Cleans up clang warning: Value stored to 'old_flags' is never read

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>