kconfig: qconf: remove wrong ConfigList::firstChild()
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 1 Aug 2020 07:08:50 +0000 (16:08 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 Aug 2020 14:09:10 +0000 (23:09 +0900)
commitccf56e5fe3d208883cd6db982197eac9b70a0bf9
tree3b1e6b16b55c293cfa278d21c1e2073122dfef05
parent4b20e103a63d056fb7a594b23d42ef8e0dbfc5ff
kconfig: qconf: remove wrong ConfigList::firstChild()

This function returns the first child object, but the returned pointer
is not compatible with (ConfigItem *).

Commit cc1c08edccaf ("kconfig: qconf: don't show goback button on
splitMode") uncovered this issue because using the pointer from this
function would make qconf crash. (https://lkml.org/lkml/2020/7/18/411)

This function does not work. Remove.

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