bpf: Remove redundant assignment of variable id
authorColin Ian King <colin.king@canonical.com>
Fri, 26 Mar 2021 19:43:48 +0000 (19:43 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 30 Mar 2021 20:58:53 +0000 (22:58 +0200)
commit235fc0e36d35270e1ff426f26bbea6154b8863a5
treed5179fc6a448ed09f2456b54037eb9ff29e4c163
parent913d55037616659c04763e756f948fcbaef0bbee
bpf: Remove redundant assignment of variable id

The variable id is being assigned a value that is never read, 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: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210326194348.623782-1-colin.king@canonical.com
kernel/bpf/btf.c