diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-03 10:30:40 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-10 17:01:22 +0300 |
commit | f034d186bf9e2857079815e5490e2810a1a287a6 (patch) | |
tree | 85b9e3fb4e8e01bf8575a976efc604ec22301a10 /scripts/bpf_doc.py | |
parent | be2fa44b5180a1f021efb40c55fdf63c249c3209 (diff) | |
download | linux-f034d186bf9e2857079815e5490e2810a1a287a6.tar.xz |
genksyms: reduce the indentation in the for-loop in __add_symbol()
To improve readability, reduce the indentation as follows:
- Use 'continue' earlier when the symbol does not match
- flip !sym->is_declared to flatten the if-else chain
No functional changes are intended.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions