diff options
author | Song Liu | 2018-12-10 20:17:50 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2018-12-10 23:48:42 +0100 |
commit | 7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb (patch) | |
tree | fa9889b9460e19a2369d70f18e04e3ebc942a337 /include/uapi/linux/bpf.h | |
parent | bpf: bpftool: Fix newline and p_err issue (diff) | |
download | kernel-qcow2-linux-7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb.tar.gz kernel-qcow2-linux-7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb.tar.xz kernel-qcow2-linux-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 <songliubraving@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions