summaryrefslogtreecommitdiff
path: root/kernel/bpf/verifier.c
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-11-12 12:48:33 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-11-12 14:11:46 -0800
commit21c6ec3d5275a77348b1af0e78cbbed0ee1558d4 (patch)
tree600349e7d24a866d8eae8cf6f7a2ac8fa0dca80e /kernel/bpf/verifier.c
parent7cc595a60187bcfaf8a8013539900154eccb4d3f (diff)
downloadlinux-21c6ec3d5275a77348b1af0e78cbbed0ee1558d4.tar.gz
linux-21c6ec3d5275a77348b1af0e78cbbed0ee1558d4.tar.bz2
linux-21c6ec3d5275a77348b1af0e78cbbed0ee1558d4.zip
selftests/bpf: Fix an unused-but-set-variable compiler warning
When using clang to build selftests with LLVM=1 in make commandline, I hit the following compiler warning: xdpxceiver.c:747:6: warning: variable 'total' set but not used [-Wunused-but-set-variable] u32 total = 0; ^ This patch fixed the issue by removing that declaration and its assocatied unused operation. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211112204833.3579457-1-yhs@fb.com
Diffstat (limited to 'kernel/bpf/verifier.c')
0 files changed, 0 insertions, 0 deletions