kconfig: gconf: remove unnecessary NULL checks for tree1 and tree2
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:07 +0000 (00:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 1 Jul 2025 11:07:34 +0000 (20:07 +0900)
commit9b8338fd45fc10961130bc2477aa72e4484e2732
tree9e2a85853f52403caabc3af0a7fc7e1bdd680aa0
parentb3841b501c4a58ba20f190afd25aa4b93cd664f9
kconfig: gconf: remove unnecessary NULL checks for tree1 and tree2

The tree1 and tree2 variables are initialized earlier in
init_tree_model(), so the NULL checks are redundant.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c