commit | ca51b26b4a25b05c9b438ed85c4750bfb6f2d9ab | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Fri Oct 01 14:32:45 2021 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Mon Oct 11 23:13:14 2021 +0900 |
tree | 4487bfd451e05b6ab538d49184bca2cf1b742ad9 | |
parent | 229d0cfae5b21bfc42525cf43b0b4279243acc4e [diff] |
kconfig: refactor conf_write_heading() All the call sites of conf_write_heading() pass NULL to the third argument, and it is not used in the function. Also, the print_comment hooks are doing much more complex than needed. Rewrite the code. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>