diff options
| author | Yuntao Wang <[email protected]> | 2022-02-20 07:27:50 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-02-22 18:50:54 +0000 |
| commit | 6966d4c4425b6796b1da13a6f86d09825df3d323 (patch) | |
| tree | af62d392152f62a0ab2f4159acb8de38e64dfcb2 /tools/bpf/bpftool/prog.c | |
| parent | selftests/bpf: Add test for reg2btf_ids out of bounds access (diff) | |
| download | kernel-6966d4c4425b6796b1da13a6f86d09825df3d323.tar.gz kernel-6966d4c4425b6796b1da13a6f86d09825df3d323.zip | |
libbpf: Remove redundant check in btf_fixup_datasec()
The check 't->size && t->size != size' is redundant because if t->size
compares unequal to 0, we will just skip straight to sorting variables.
Signed-off-by: Yuntao Wang <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
