]> git.ipfire.org Git - thirdparty/linux.git/commit
btf: Refactor the code by calling str_is_empty
authorDonglin Peng <pengdonglin@xiaomi.com>
Fri, 9 Jan 2026 13:00:03 +0000 (21:00 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 14 Jan 2026 00:21:56 +0000 (16:21 -0800)
commit9282a42a1fe16c61a253293af439d6fecd8b5b6c
treebbfd58883d6a2cafeb862405dda6069cbb3276e1
parent434bcbc837a69baa2720b2ae5baba8b6e36898c0
btf: Refactor the code by calling str_is_empty

Calling the str_is_empty function to clarify the code and
no functional changes are introduced.

Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/bpf/20260109130003.3313716-12-dolinux.peng@gmail.com
tools/lib/bpf/btf.c
tools/lib/bpf/libbpf.c