libbpf: Remove unnecessary usdt_rel_ip assignments
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 5 Jul 2022 22:48:18 +0000 (15:48 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 6 Jul 2022 14:46:19 +0000 (16:46 +0200)
commit7c8121af1bfe29feedfa4fcb3154886660ecbe3a
tree6b2a90338a647f1ed9ad78ab234602d4292c36a4
parentc46a12200114ae5ad7b0922e6c8969a22c3afbd7
libbpf: Remove unnecessary usdt_rel_ip assignments

Coverity detected that usdt_rel_ip is unconditionally overwritten
anyways, so there is no need to unnecessarily initialize it with unused
value. Clean this up.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20220705224818.4026623-4-andrii@kernel.org
tools/lib/bpf/usdt.c