linux/scripts/genksyms
Masahiro Yamada f034d186bf 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>
2025-01-10 23:01:22 +09:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
genksyms.c genksyms: reduce the indentation in the for-loop in __add_symbol() 2025-01-10 23:01:22 +09:00
genksyms.h genksyms: fix memory leak when the same symbol is read from *.symref file 2025-01-10 23:01:22 +09:00
keywords.c genksyms: Ignore module scoped _Static_assert() 2020-12-21 13:57:08 +09:00
lex.l genksyms: remove useless case DOTS 2021-02-16 12:01:45 +09:00
Makefile kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
parse.y genksyms: fix memory leak when the same symbol is read from *.symref file 2025-01-10 23:01:22 +09:00