summaryrefslogtreecommitdiff
path: root/scripts/kconfig/qconf.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-07 18:18:59 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-14 13:39:14 +0900
commitcb77043f061a9ec7824784d18a0c484fbfe97059 (patch)
tree7b24765e25b102693b53ca599010538f92f699a3 /scripts/kconfig/qconf.h
parent92641154bf6f138c37bae31cf735359f703749cc (diff)
downloadlwn-cb77043f061a9ec7824784d18a0c484fbfe97059.tar.gz
lwn-cb77043f061a9ec7824784d18a0c484fbfe97059.zip
kconfig: qconf: remove unused argument from ConfigList::updateList()
This function allocates 'item' before using it, so the argument 'item' is always shadowed. Remove the meaningless argument. 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, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index 335f0776984f..4dc5d34a6bca 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -69,7 +69,7 @@ protected:
public slots:
void setRootMenu(struct menu *menu);
- void updateList(ConfigItem *item);
+ void updateList();
void setValue(ConfigItem* item, tristate val);
void changeValue(ConfigItem* item);
void updateSelection(void);
@@ -85,7 +85,7 @@ public:
void updateListAll(void)
{
updateAll = true;
- updateList(NULL);
+ updateList();
updateAll = false;
}
void addColumn(colIdx idx)