summaryrefslogtreecommitdiff
path: root/scripts/kconfig/qconf.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-01 16:08:50 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-02 23:09:10 +0900
commitccf56e5fe3d208883cd6db982197eac9b70a0bf9 (patch)
tree3b1e6b16b55c293cfa278d21c1e2073122dfef05 /scripts/kconfig/qconf.h
parent4b20e103a63d056fb7a594b23d42ef8e0dbfc5ff (diff)
downloadlwn-ccf56e5fe3d208883cd6db982197eac9b70a0bf9.tar.gz
lwn-ccf56e5fe3d208883cd6db982197eac9b70a0bf9.zip
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>
Diffstat (limited to 'scripts/kconfig/qconf.h')
-rw-r--r--scripts/kconfig/qconf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index fb9e9729266f..5eeab4a8bb43 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -92,10 +92,6 @@ public:
{
return this;
}
- ConfigItem* firstChild() const
- {
- return (ConfigItem *)children().first();
- }
void addColumn(colIdx idx)
{
showColumn(idx);