summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorJiawei Zhao <phoenix500526@163.com>2025-09-04 03:05:23 +0000
committerAndrii Nakryiko <andrii@kernel.org>2025-09-04 11:35:44 -0700
commitb338cf849ec82a3063119c9902c5ae21bc9dccb1 (patch)
tree1a96c0d848208bac0ad4b593f91259c93f4f5354 /scripts/lib/kdoc/kdoc_re.py
parent2d92ef7da2605fdb01db9b547e99d9ea8790c8eb (diff)
libbpf: Remove unused args in parse_usdt_note
Remove unused 'elf' and 'path' parameters from parse_usdt_note function signature. These parameters are not referenced within the function body and only add unnecessary complexity. The function only requires the note header, data buffer, offsets, and output structure to perform USDT note parsing. Update function declaration, definition, and the single call site in collect_usdt_targets() to match the simplified signature. This is a safe internal cleanup as parse_usdt_note is a static function. Signed-off-by: Jiawei Zhao <phoenix500526@163.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/bpf/20250904030525.1932293-1-phoenix500526@163.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions