kconfig: qconf: refactor ConfigInfoView::clicked()
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 23 Oct 2024 18:18:02 +0000 (03:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 5 Nov 2024 23:46:34 +0000 (08:46 +0900)
commita914032b71f0a74e9c9114ff9be8babb55bbca67
treefd8592020052440baf284b13adc00ef38f3a75ee
parentbce590f1020742d81e9fbfe3b045538973111c11
kconfig: qconf: refactor ConfigInfoView::clicked()

Most of the code in ConfigInfoView::clicked() is unnecessary.
There is no need to use the regular expression to search for a symbol.
Calling sym_find() is simpler and faster.

The hyperlink always begins with the "s" tag, and there is no other
tag used. Remove it.

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