diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/qconf.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 3454c4361c8e..8d72e4ae6291 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
| @@ -576,9 +576,6 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu) | |||
| 576 | enum prop_type type; | 576 | enum prop_type type; |
| 577 | 577 | ||
| 578 | if (!menu) { | 578 | if (!menu) { |
| 579 | while ((item = parent->firstChild())) | ||
| 580 | item->parent()->removeChild(item); | ||
| 581 | delete item; | ||
| 582 | return; | 579 | return; |
| 583 | } | 580 | } |
| 584 | 581 | ||
