diff options
author | Zhu Jun <[email protected]> | 2024-10-09 22:57:37 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-10-10 19:15:02 -0700 |
commit | ba4fb3b3f7d891ba2fb82fe344d5068f87d7481c (patch) | |
tree | 58a6bbd2965961c2fe0c4f3e2d9e04615e65c1b3 /scripts/gdb/linux/radixtree.py | |
parent | f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 (diff) |
selftests/bpf: Removed redundant fd after close in bpf_prog_load_log_buf
Removed unnecessary `fd = -1` assignments after closing file descriptors.
because it will be assigned by the function bpf_prog_load().This improves
code readability and removes redundant operations.
Signed-off-by: Zhu Jun <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions