bpf: remove redundant variable old_flags
commit952925dec0f276b407b2abce4aee82cba7c700c3
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Oct 2017 10:56:23 +0000 (11 11:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Oct 2017 03:22:34 +0000 (11 20:22 -0700)
tree4e70e03740239bbfb682ad9299af2f1994c9039b
parentdf24cd4fdac6b268ccd877d376ab4f35cd8efb30
bpf: remove redundant variable old_flags

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@canonical.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/cgroup.c