diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-03 16:30:40 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-10 23:01:22 +0900 |
commit | f034d186bf9e2857079815e5490e2810a1a287a6 (patch) | |
tree | 85b9e3fb4e8e01bf8575a976efc604ec22301a10 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | be2fa44b5180a1f021efb40c55fdf63c249c3209 (diff) |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions