bpf: Remove redundant initialization of variable allow
authorColin Ian King <colin.king@canonical.com>
Tue, 17 Aug 2021 17:08:42 +0000 (18:08 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 17 Aug 2021 21:09:12 +0000 (14:09 -0700)
commit8cacfc85b615cc0bae01241593c4b25da6570efc
tree8aa0673e7d74df525a294d69190736e3cc87e94b
parent04d23194674bf3cf5f6616f3ee4e51fc9305b7d9
bpf: Remove redundant initialization of variable allow

The variable allow is being initialized with a value that is never read, it
is being updated later on. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210817170842.495440-1-colin.king@canonical.com
kernel/bpf/cgroup.c