aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2018-12-10 19:17:50 +0000
committerAlexei Starovoitov <[email protected]>2018-12-10 22:48:42 +0000
commit7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb (patch)
treefa9889b9460e19a2369d70f18e04e3ebc942a337 /tools/lib/bpf/bpf_prog_linfo.c
parentbpf: bpftool: Fix newline and p_err issue (diff)
downloadkernel-7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb.tar.gz
kernel-7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb.zip
bpf: clean up bpf_prog_get_info_by_fd()
info.nr_jited_ksyms and info.nr_jited_func_lens cannot be 0 in these two statements, so we don't need to check them. Signed-off-by: Song Liu <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions