From: Boris Barbulovski <[email protected]>
Signed-off-by: Boris Barbulovski <[email protected]>
Signed-off-by: Thiago Macieira <[email protected]>
---
scripts/kconfig/qconf.cc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 3454c43..8d72e4a 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -576,9 +576,6 @@ void ConfigList::updateMenuList(P* parent, struct menu*
menu)
enum prop_type type;
if (!menu) {
- while ((item = parent->firstChild()))
- item->parent()->removeChild(item);
- delete item;
return;
}
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/