summaryrefslogtreecommitdiff
path: root/tools/lib/string.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2018-12-10 11:17:50 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-12-10 14:48:42 -0800
commit7a5725ddc6e18aab61f647c0996d3b7eb03ff5cb (patch)
treefa9889b9460e19a2369d70f18e04e3ebc942a337 /tools/lib/string.c
parent10a5ce98539948affbdc28dc0f39a1b6b2307f9d (diff)
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 'tools/lib/string.c')
0 files changed, 0 insertions, 0 deletions